Unable to connect through beeline. Unable to connect through hive view.
HIVESERVER2 INTERACTIVE
is up.safemode
.
$ hdfs dfsadmin -D "fs.default.name=hdfs://mycluster/" -safemode get
If it is showing “ON” we know the safemode is causing this trouble.
There could be different reasons why the cluster is in safemode. Most commom reason is a scale down event.
$ hdfs dfsadmin -D "fs.default.name=hdfs://mycluster/" -safemode leave
$ hdfs dfsadmin -D "fs.default.name=hdfs://mycluster/" -safemode get