HUE,大数据的SQL Shell

1. HUE需要安装SASL

发现异常:

  Could not install table: Error creating table sample_07: Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found (code THRIFTTRANSPORT): TTransportException('Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found',).
解决方案:
    yum -y install cyrus-sasl-plain cyrus-sasl-devel cyrus-sasl-gssapi 

2. 覆盖HUE的配置文件HUE.ini

  想让通过cloudera里面的HUE绑定其他的oozie怎么办?这个配置实在HUE.ini里面配置的;但是在cloudera管理下,HUE.ini是启动的时候,cloudera生成的;如果想要对于生成内容进行覆盖,需要在Configuration里面寻找“Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini”,在里面添加上:

1     [liboozie]
2     remote_data_dir=/user/hue/jobsub
3     oozie_url=http://10.1.108.73:11000/oozie
4     security_enabled=false

 
即可实现覆盖。
参考:

http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/

posted on 2017-11-19 22:28  下士闻道  阅读(691)  评论(0编辑  收藏  举报

导航