![Impala 默认端口:它们改变了吗?](https://linux22.com/image/742945/Impala%20%E9%BB%98%E8%AE%A4%E7%AB%AF%E5%8F%A3%EF%BC%9A%E5%AE%83%E4%BB%AC%E6%94%B9%E5%8F%98%E4%BA%86%E5%90%97%EF%BC%9F.png)
我从以下位置部署了最新版本的 Apache Impala:
http://www.apache.org/dyn/closer.cgi?action=download&filename=impala/3.3.0/apache-impala-3.3.0.tar.gz
并查看我使用的端口netstat -- listen
(见下文)。我没有使用 21000,而是尝试使用 31000,因为 Impala 使用的端口如下所述:
https://www.cloudera.com/documentation/enterprise/5-14-x/topics/impala_ports.html
但无法从位于另一台计算机上的 impala-shell 连接(尝试了 21000 但也失败了)。我是不是漏掉了什么?impala 守护进程正在运行,就像我
root@bb9f4792e21d:/opt/Impala/bin# ps -ef | grep -i impalad
root 23067 1 0 15:31 pts/0 00:00:00 grep --color=auto -i impalad
我可以看到它正在运行。
root@bb9f4792e21d:/opt/Impala/bin# netstat --listen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:11050 *:* LISTEN
tcp 0 0 *:16010 *:* LISTEN
tcp 0 0 *:7051 *:* LISTEN
tcp 0 0 localhost:31020 *:* LISTEN
tcp 0 0 localhost:31021 *:* LISTEN
tcp 0 0 *:5070 *:* LISTEN
tcp 0 0 localhost:31022 *:* LISTEN
tcp 0 0 *:30130 *:* LISTEN
tcp 0 0 *:10002 *:* LISTEN
tcp 0 0 *:8051 *:* LISTEN
tcp 0 0 localhost:16020 *:* LISTEN
tcp 0 0 localhost:20500 *:* LISTEN
tcp 0 0 localhost:16022 *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 localhost:16023 *:* LISTEN
tcp 0 0 *:31000 *:* LISTEN
tcp 0 0 localhost:postgresql *:* LISTEN
tcp 0 0 *:31001 *:* LISTEN
tcp 0 0 *:30010 *:* LISTEN
tcp 0 0 *:31002 *:* LISTEN
tcp 0 0 *:9083 *:* LISTEN
tcp 0 0 localhost:45979 *:* LISTEN
tcp 0 0 *:16030 *:* LISTEN
tcp 0 0 localhost:30911 *:* LISTEN
tcp 0 0 *:6080 *:* LISTEN
tcp 0 0 *:16032 *:* LISTEN
tcp 0 0 localhost:16000 *:* LISTEN
tcp 0 0 localhost:31200 *:* LISTEN
tcp 0 0 *:9600 *:* LISTEN
tcp 0 0 *:16033 *:* LISTEN
tcp 0 0 localhost:31201 *:* LISTEN
tcp 0 0 localhost:37857 *:* LISTEN
tcp 0 0 localhost:31202 *:* LISTEN
tcp 0 0 *:31010 *:* LISTEN
tcp 0 0 *:31011 *:* LISTEN
tcp 0 0 *:30020 *:* LISTEN
tcp 0 0 *:31300 *:* LISTEN
tcp 0 0 *:31012 *:* LISTEN
tcp 0 0 localhost:6085 *:* LISTEN
tcp 0 0 *:2181 *:* LISTEN
tcp 0 0 *:31301 *:* LISTEN
tcp 0 0 localhost:42213 *:* LISTEN
tcp 0 0 *:31302 *:* LISTEN
tcp 0 0 127.0.0.11:45001 *:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
udp 0 0 bb9f4792e21d:ntp *:*
udp 0 0 localhost:ntp *:*
udp 0 0 *:ntp *:*
udp 0 0 127.0.0.11:39611 *:*
udp6 0 0 [::]:ntp [::]:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 40977947 /var/lib/hadoop-hdfs/socket.31001
unix 2 [ ACC ] STREAM LISTENING 40872735 /var/run/postgresql/.s.PGSQL.5432
unix 2 [ ACC ] STREAM LISTENING 40975999 /var/lib/hadoop-hdfs/socket.31000
unix 2 [ ACC ] STREAM LISTENING 40977072 /var/lib/hadoop-hdfs/socket.31002
root@bb9f4792e21d:/opt/Impala/bin#