Could not open connection to jdbc:hive2://slave1:21050/;auth=noSasl: Connection refused

问题所在原因:impala server未开启

开启impala:在master(主节点)上启动statestorecatalog

/etc/init.d/impala-state-storestart

/etc/init.d/impala-catalogstart

slave1-slave3(子节点,我这里子节点有三个)上依次启动server

/etc/init.d/impala-serverstart

注意:启动impala的前提:确保hive已经启动,

hive启动命令:nohup hive --service metastore &

                        nohup hive --service hiveserver2 &

你可能感兴趣的:(linux,impala)