Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

impala-shell on CDH5.1.1

impala-shell on CDH5.1.1

New Contributor

I have installed the latest CDH (CDH5.1.1)


Iplala services are running on the cluster.


But when i try to run impala-shell command i get the following error:


Starting Impala Shell without Kerberos authentication
Error connecting: TTransportException, Could not connect to hdp005-2:21000
Welcome to the Impala shell. Press TAB twice to see a list of available commands.

Copyright (c) 2012 Cloudera, Inc. All rights reserved.

(Shell build version: Impala Shell v1.4.0-cdh5-INTERNAL (e801bd8) built on Sat Jul 12 06:45:04 PDT 2014)
[Not connected] >


The port 21000 is not used by any other service on the server.


Please let me know if i have to check some other settings 





Re: impala-shell on CDH5.1.1

Is impalad running on the same node where you're running the shell? By default it will try to connect to localhost:21000. If you're on an edge node you'll need to connect to a datanode by running connect <hostname> in the shell.