cloudera - Error connecting: <class 'thrift.transport.TTransport.TTransportException'> -


i have installed cloudera impala v0.4 via cloudera manager 4.1.3

my cluster comprises of slave machines

slave1 --> impala daemon, state store daemon slave2 --> impala daemon 

so, able run impala shell on these machines-

>impala-shell 

the problem is, when run command (in slave1/slave2)

[not connected] > connect impalad-host:21000 

i following error:

error connecting: class 'thrift.transport.ttransport.ttransportexception' not connect impalad-shell:21000 

here impalad-host host name default running on port no 21000.

how configure host name , port no?

although 3 year old question, still going add 2 cents lands on page looking solution-

look here answer modifying impala startup options

configuring impala startup options through command line

when run impala in non-cloudera manager environment, impala server, statestore, , catalog services start using values provided in defaults file, /etc/default/impala.

this file includes information many resources used impala. of defaults included in file should effective in cases. example, typically not change definition of classpath variable, set address used statestore server. of content might modify include:

impala_state_store_host=127.0.0.1

impala_state_store_port=24000

impala_backend_port=22000

impala_log_dir=/var/log/impala


Comments