06-08-2017 12:00 PM - edited 06-08-2017 12:01 PM
Hi - Following an upgrade from CDH 4 to 5, I'm unable to open an hbase shell as the hdfs user.
Root works fine:
# hbase shell
17/06/08 14:59:22 INFO Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 1.0.0-cdh5.4.11, rUnknown, Sun Aug 28 17:31:31 PDT 2016
But then as the hdfs user, I get this error:
$ hbase shell
Error: Could not find or load main class HotSpot(TM)
It's not so much the shell that we need, it's that we need to run copyTable jobs as the hdfs user, and this is preventing us from doing so.
From some googling it appears this may be some sort of java/classpath issue?