Member since
12-28-2024
1
Post
1
Kudos Received
0
Solutions
01-03-2025
08:19 AM
Hello, Please gather the PID of HiveServer2 and run this command: lsof -Pn -p <PID> | egrep TCP It should return something like this: [root@ccycloud apache]# lsof -Pn -p 426744 | egrep TCP java 426744 hive 680u IPv6 1426885630 0t0 TCP 127.0.0.1:46404->127.0.0.1:9083 (ESTABLISHED) java 426744 hive 682u IPv6 1426605725 0t0 TCP 127.0.0.1:46420->127.0.0.1:9083 (ESTABLISHED) java 426744 hive 683u IPv6 1426958951 0t0 TCP 127.0.0.1:46422->127.0.0.1:9083 (ESTABLISHED) java 426744 hive 684u IPv6 1427031052 0t0 TCP 127.0.0.1:46426->127.0.0.1:9083 (ESTABLISHED) java 426744 hive 685u IPv6 1427031053 0t0 TCP 127.0.0.1:46436->127.0.0.1:9083 (ESTABLISHED) java 426744 hive 686u IPv6 1426956920 0t0 TCP 127.0.0.1:46444->127.0.0.1:9083 (ESTABLISHED) java 426744 hive 687u IPv6 1426956921 0t0 TCP 127.0.0.1:46452->127.0.0.1:9083 (ESTABLISHED) java 426744 hive 688u IPv6 1426847703 0t0 TCP 127.0.0.1:46466->127.0.0.1:9083 (ESTABLISHED) java 426744 hive 692u IPv6 1426847704 0t0 TCP *:10000 (LISTEN) java 426744 hive 693u IPv6 1427016047 0t0 TCP *:10002 (LISTEN) java 426744 hive 704u IPv6 1427016054 0t0 TCP 127.0.0.1:46476->127.0.0.1:9083 (ESTABLISHED) java 426744 hive 705u IPv6 1427037042 0t0 TCP 127.0.0.1:57868->127.0.0.1:9083 (ESTABLISHED) java 426744 hive 706u IPv6 1427549483 0t0 TCP 127.0.0.1:10000->127.0.0.1:54610 (ESTABLISHED) Connections to Hive Metastore must be setup first before HS2 starts listening on port 10000 Hope this helps
... View more