出于简单的测试目的,我仅将Cloudera CDH安装在一台计算机上(同一台计算机上的postgresql),并在Redhat 7.3上使用“ systemctl start cloudera-scm-server”命令将其启动。
它允许我通过7180端口连接到Cloudera Manager Web gui,但是大多数仪表板屏幕都显示“查询错误”状态。一个简单的hadoop命令会产生以下错误。
# hadoop fs -df
df: Call From powervc131/10.10.14.71 to
powervc131:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
我发现端口8020上没有运行任何进程。
我检查了/var/log/cloudera-scm-server/cloudera-scm-server.log,发现了一些可疑的消息。
第一个如下:
WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method
[java.util.Collection com.cloudera.server.web.cmf.csd.CsdController.findServicesByType(java.lang.String)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
下一个如下:
ERROR WebServerImpl:com.cloudera.server.web.cmf.TsqueryAutoCompleter: Error getting predicates
org.apache.avro.AvroRemoteException: java.net.ConnectException: Connection refused (Connection refused)
at org.apache.avro.ipc.specific.SpecificRequestor.invoke(SpecificRequestor.java:104)
at com.sun.proxy.$Proxy175.getImpalaFilterMetadata(Unknown Source)
最终会出现以下错误。
ERROR scm-web-125:com.cloudera.cmon.NozzleIPCWrapper: Error getting HDFS summary for hdfs: org.apache.avro.AvroRemoteException: java.net.ConnectException: Connection refused (Connection refused)
任何评论将不胜感激。