一.安装依赖
yum install python python-dev python-setuptools python-pip \ libkrb5-dev libxml2-dev libxslt-dev libssl-dev \ libsasl2-dev libsqlite3-dev libldap2-dev \ libffi-dev nodejs npm cmake make gcc g++
二.拉取源码
wget https://github.com/cloudera/hue/archive/refs/tags/release-4.10.0.tar.gz
三.执行编译
make apps
四.编译成功
五.将整个目录重命名
mv hue-release-4.10.0 hue 将hue替换/opt/cloudera/parcels/CDH/lib下的hue目录 mkdir /opt/cloudera/parcels/CDH/lib/hue /opt/cloudera/parcels/CDH/lib/hue.bak mv hue /opt/cloudera/parcels/CDH/lib/ 重启cdh hue配置如下