Coder Social home page Coder Social logo

smartdw / hue-ctrip-di Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ctrip-di/hue-ctrip-di

0.0 2.0 0.0 1.75 MB

Ctrip Data Infrastructure team works for hue

License: MIT License

Java 49.76% Makefile 0.66% Python 5.89% CSS 5.67% JavaScript 38.03%

hue-ctrip-di's Introduction

Ctrip Data Infrastructure Hue Apps

Overview

We are going to add more apps into hue. Currently, we have monitor and spark sql. Monitor will show Hadoop dashbard and every metric in your cluster. Spark sql is going to let user submit his sql to execute job in spark cluster.

Getting Started

Prerequisites

  • Hadoop Cluster Invironment
  • Ganglia Cluster
  • hue-2.5.0-cdh4.6.0

Misc

  • JDK Runtime: JDK6 (OpenJDK or Oracle JDK)
  • Maven
  • Git
  • Tomcat (CATALINA_HOME being set)

Installation

###Install Data Service:###

$yum install tomcat
$Create mysql table and the script is /di-data-service/src/main/resources/script/di.sql
$Configured /di-data-service/src/main/resources/conf/di.properties for your invironment
$cd Hue-Ctrip-DI/di-data-service; 
$mvn clean install -DskipTests
$copy di-data-service.war to tomcat

###Install monitor app:###

$mv Hue-Ctrip-DI/monitor $HUE_HOME/apps
$cd $HUE_HOME/apps
$sudo ../tools/app_reg/app_reg.py --install monitor  

###Install spark sql app:###

$mv Hue-Ctrip-DI/sparksql $HUE_HOME/apps
$cd $HUE_HOME/apps
$sudo ../tools/app_reg/app_reg.py --install sparksql

###hue.ini Config section for monitor### Configs needed in hue.ini config file.

[monitor]
[[di-service]]
    di_data_service_url="http://localhost:8080/di-data-service/"

###hue.ini Config section for sparksql### Configs needed in hue.ini config file.

[sparksql]
[[spark-service]]
    spark_sql_url="http://localhost:8089/di-data-service/"

UI Example

###MapReduce Dashboard###

Off-CLI Installation

###Hdfs Dashboard###

Off-CLI Installation

###Metric Dashboard###

Off-CLI Installation

###Spark SQL UI##

Off-CLI Installation

##Resources##

Developer Mail: [email protected]

##Copyright and License##

Copyright 2014 ctriposs

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

hue-ctrip-di's People

Contributors

jasonliaoxiaoge avatar linyfei avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.