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.
$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
$mv Hue-Ctrip-DI/monitor $HUE_HOME/apps
$cd $HUE_HOME/apps
$sudo ../tools/app_reg/app_reg.py --install monitor
$mv Hue-Ctrip-DI/sparksql $HUE_HOME/apps
$cd $HUE_HOME/apps
$sudo ../tools/app_reg/app_reg.py --install sparksql
Configs needed in hue.ini config file.
[monitor]
[[di-service]]
di_data_service_url="http://localhost:8080/di-data-service/"
Configs needed in hue.ini config file.
[sparksql]
[[spark-service]]
spark_sql_url="http://localhost:8089/di-data-service/"
Developer Mail: [email protected]
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.