多语言展示
当前在线:1601今日阅读:61今日分享:18

Cloudera Manager和cdh 5.15安装过程中异常问题

安装clodera和cdh,一定要注意版本搭配的正确性,从官网上找到各个版本的对应关系。否则很容易出现各种异常。     另外要注意环境的空间与磁盘的大小等。特别是虚拟机环境。
工具/原料

centos7.2 cloudera manager cdh5.15

方法/步骤
1

1.WebServerImpl:com.cloudera.server.web.cmf.TsqueryAutoCompleter: Error getting predicates重启过程Service Monitor服务异常,启动CM和Agent服务一段时间后自然会正常,无需关注

2

2.查询 Host Monitor 时发生内部错误;网上有各种解决方案,不过作者本人的解决方案是,虚拟机内存设置太小了。

3

3.com.cloudera.server.common.AgentAvroServlet: Error processing Avro requestorg.mortbay.jetty.EofException可能是jdk版本引起

4

4.scm server无故退出,或者运行一段时间后就退出了。以及clouder manager 控制台安装时,中途卡住了,都可能是内存或磁盘空间不足了。

5

5.scm server 主机运行状态不良解决方法:删除 /opt/cm-5.15.1/lib/cloudera-scm-agent/cm_guid

6

6.服务未成功启动;所需角色未全部启动: 仅启动了 5 个角色中的 2 个。原因: Service has only 0 DataNode roles running instead of minimum required Failed rack peer update: [Errno 111] Connection refused解决办法:开启ntpd服务service ntpd start

7

7.No portmap or rpcbind service is running on this host. Please start portmap or rpcbind service before attempting to start the NFS Gateway role on this host.解决办法:安装rpcbind: yum install rpcbind.x86_6执行 service rpcbind start

8

8.org.apache.hadoop.hive.metastore.HiveMetaException: Failed to load driver解决方法:将mysql-connector-java-5.1.36-bin.jar添加到hive的lib/opt/cloudera/parcels/CDH-5.4.7-1.cdh5.4.7p0.36/lib/hive/lib

注意事项
1

版本不要搭配错了

2

服务器硬件要求很高,内存至少在8G以上,安装起来比较顺利。

推荐信息