我一直在尝试在本地 Hadoop 安装上安装和启动 Impala。下面是使用的错误日志impalad
。Impala 服务器位于辅助名称节点 (nn02.tcs.com)
[root@nn02 impala]# impalad
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
E0903 23:43:52.400326 21972 impala-server.cc:208] Could not read the HDFS root directory at hdfs://nn01.tcs.com:8020. Error was:
Failed on local exception: com.google.protobuf.InvalidProtocolBufferException:
Message missing required fields: callId, status;
Host Details : local host is: "nn02.tcs.com/192.168.2.101";
destination host is: "nn01.tcs.com":8020;
E0903 23:43:52.400411 21972 impala-server.cc:210] Aborting Impala Server startup due to improper configuration
我可以通过以下方式访问相同的 HDFS:
[root@nn02 impala]# hadoop fs -ls hdfs://nn01.tcs.com
Found 1 items
-rw-r--r-- 3 root hdfs 9737 2014-06-16 09:27 hdfs://nn01.tcs.com/user/root/x
我可以通过名称节点中的浏览器访问名称节点 (nn01.tcs.com) 中的站点:
http://nn01.tcs.com:8020 - 我收到以下消息
看起来您正在向 Hadoop IPC 端口发出 HTTP 请求。这不是此守护程序上 Web 界面的正确端口。
请帮助解决此错误