CDH中安装Hue连接不上数据库 Unexpected error. Unable to verify database connection 完美解决方案
来源:互联网 发布:淘宝数据分析工作 编辑:程序博客网 时间:2024/06/05 19:52
在安装CDH时,走到验证数据库连接部分时候,Hue总是验证不过去,报错为: Unexpected error. Unable to verify database connection。原因大都是因为缺少环境包所致。
我安装的过程中分别使用过postgresql和mysql,都出现过相同问题最终都得以解决,解决方法如下:
比如:我把Hue安装在slave1节点上
当使用Postgresql 作为元数据库时:
1、 报错情况可以查看manager节点的cm-5.x.0/log/cloudera-scm-server/cloudera-scm-server.log,一般情况下应该会看到此图,意思是缺少psycopg2;
2、此时,登录安装Hue的节点,如本次安装的是在slave1上,执行yum install python-psycopg2命令,等待安装完成后再回到界面点击测试连接即可成功连接。
当使用MySql作为元数据库时:
1、 报错情况可以查看manager节点的cm-5.x.0/log/cloudera-scm-server/cloudera-scm-server.log,一般情况下应该会说到
ImportError:libxslt.so.1:cannot open shared object file:No such file ordirectory
2、还是登录安装Hue的节点,如本次安装的是在slave1上,执行yum install libxml2-python命令。然后回到网页进行测试连接是否通过,若不通过再执行yum install mysql*,再进行测试连接,应该会通过
同样若使用的是oracle 作为底层元数据库,出现问题也是根据日志,安装所需的东西,注意是在安装Hue的节点上安装,不是在管理节点安装
- CDH中安装Hue连接不上数据库 Unexpected error. Unable to verify database connection 完美解决方案
- Unexpected error. Unable to verify database connection CDH 5.10.0
- CDH5.11.0安装过程报错:Unable to verify database connection
- CDH5.10+安装过程报错:Unable to verify database connection
- vba 用ADO连接不上sqlserver 错误提示:client unable to establish connection
- ArcCatalog连接ArcSDE连接报:unable to create new database connection file,permission is denied
- Error while preforming database login with the sql driver Unable to create connection解决
- error while performing database login with the Dome driver:unable to create connection.check yoururl
- Error while performing database login with the sqljdbc driver:Unable to create connection. Check you
- eclipse中配置连接db2异常(error while performing database login with the db2 driver;unable to create connec)
- Xshell连接不上阿里云报错:connection failed的解决方案
- CDH 5.7.0 Hive使用Mysql作为元数据库,报unable to find the jdbc database jar on host
- testlink安装过程中, Creating connection to Database Server: Failed!
- Composer安装: Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.org Request to...
- 连接不上数据库的解决方案
- clone failed unable to success error setting certificate verify locations
- php5.3连接mssql2005数据库不完美解决方案
- Error: unable to open database解决
- [docker]网络-flannel
- idea运行Jboss部署的项目报:java.lang.OutOfMemoryError: PermGen space
- JGroups使用范例(聊天小程序)
- basic markdown instructions
- Windows10使用Anaconda安装OpenCV
- CDH中安装Hue连接不上数据库 Unexpected error. Unable to verify database connection 完美解决方案
- 前端程序员:月薪5K到5万_我干了啥
- 使用java语言与c++语言通信
- pluck
- 初识SpringBoot,Mavern之环境搭建
- The Elements of Computing Systems阅读笔记(2)
- 笔记
- C语言学习笔记(8)——第一次个人实战(YUV图像分割)
- iOS 视图的模糊效果