Reply
New Contributor
Posts: 3
Registered: ‎12-02-2013

impala-shell on CDH5.1.1

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 

 

Thanks,

Divya

Explorer
Posts: 14
Registered: ‎08-13-2013

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.