当我成功构建impala2.0.0后启动impalad时,我遇到了这样的错误
[root@localhost impala-2.0.0-cdh5.2.0]# ./bin/start-impalad.sh -use_statestore=false
ls: cannot access /root/projects/impala-2.0.0-cdh5.2.0/testdata/target/dependency/*.jar: No such file or directory
E1201 17:06:38.832816 4080 impala-server.cc:213] Could not read the HDFS root directory at hdfs://localhost:20500. Error was:
Call From localhost/127.0.0.1 to localhost:20500 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
E1201 17:06:38.832924 4080 impala-server.cc:215] Aborting Impala Server startup due to improper configuration
我已经使用start-dfs.sh
和start-yarn.sh
脚本启动了hadoop。
[root@localhost impala-2.0.0-cdh5.2.0]# jps
2301 ResourceManager
2115 SecondaryNameNode
1918 DataNode
2396 NodeManager
1809 NameNode
4157 Jps
但是当我使用natstat -anp | grep LISTEN
时,听起来没有收听端口20500
。
如果我想启动要监听的端口20500
,我该怎么办?
此致