Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using Impala/ Impala FAQ/ What Should I Do If Port 21000 of Impalad Cannot Be Connected Using Impala-shell?
Updated on 2025-07-16 GMT+08:00

What Should I Do If Port 21000 of Impalad Cannot Be Connected Using Impala-shell?

Question

Using the impala-shell client 4.0.0 or later, you cannot connect to port 21000 of Impalad.

Answer

For the Impala 4.0.0 and later, the Impala-shell client defaults to using port 21050 of Hive Server2. To connect to port 21000, specify the connection protocol with --protocol=beeswax after impala-shell.

In versions earlier than Impala 4.0.0, the impala-shell client defaults to using port 21000 of Beeswax. To connect to port 21050, specify --protocol=hs2 after impala-shell.