1. Configure HBase
Hue needs to read hbase data in a way that uses thrift, the default HBase thrift service is not turned on, all need to manually open the thrift service.
The thrift service uses 9090 ports by default and uses the following command to see if the ports are occupied
$ netstat-nl|grep 9090
Start Thrift Service
$ hbase-daemon.sh Start Thrift
2. Configure Hue
Modify the configuration in [HBase] in the Hue.ini file in the "hue_home/desktop/conf/" Directory
# comma-separated List of HBase Thrift servers for clusters in the format of ' (Name|host:port) '.
# Use full hostname with security.
Hbase_clusters= (cluster|hadoop-slave1.dimensoft.com.cn:9090)
# HBase configuration directory, where Hbase-site.xml is located.
Hbase_conf_dir=/usr/local/cdh-5.2.0/hbase-0.98.6/conf
High-energy warning: the cluster in the Hbase_clusters parameter value is just the name of the cluster displayed in the Hue interface, and can be modified to its own needs.
3. Start Hue
Enter "Hue_home" to start HUE
$ build/env/bin/supervisor
Access Hue's web interface http://hadoop-main.dimensoft.com.cn:8888/