【Hadoop离线基础总结】Hue与Hive集成
-
1.更改hue的配置hue.ini
cd /export/servers/hue-3.9.0-cdh5.14.0/desktop/conf
vim hue.ini不推荐vim编辑模式[beeswax] hive_server_host=node03.hadoop.com hive_server_port=10000 hive_conf_dir=/export/servers/hive-1.1.0-cdh5.14.0/conf server_conn_timeout=120 auth_username=root auth_password=123456[metastore] enable_new_create_table=true -
2.启动hive的metastore以及hiveserver2服务
在node03执行
cd /export/servers/hive-1.1.0-cdh5.14.0 nohup bin/hive --service metastore & nohup bin/hive --service hiveserver2 & -
3.启动hue进程,查看Hive是否与Hue集成成功
cd /export/servers/hue-3.9.0-cdh5.14.0/ build/env/bin/supervisor连接到web页面,显示如下图表示配置成功

Hue还可以保存hql以便下次使用


还可以直接生成报表


浙公网安备 33010602011771号