HiveServer2 starts when minicluster is running. The page shows how to start Hive beeline shell.
- cd $IMPALA_HOME
- Make sure minicluster and impala cluster are running (./testdata/bin/run-all.sh)
- source ./bin/impala-config.sh
- Make sure $HIVE_HOME and $HADOOP_HOME are set (echo $HIVE_HOME & $HADOOP_HOME)
- Start beeline by typing "beeline" in $IMPALA_HOME
beeline> !connect jdbc:hive2://localhost:11050 hive org.apache.hive.jdbc.HiveDrive
- Exit beeline: !exit