Hbase Shell启动失败
Unable to start hbase shell due to java.io.IOException: java.lang.reflect.InvocationTargetExceptionSYMPTOM:
When attempting to execute "hbase shell" as a non-root / non-hbase user, hbase shell fails with the following exception:
$ hbase shell
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
SLF4J: Found binding in
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type
NativeException: java.io.IOException: java.lang.reflect.InvocationTargetException
initialize at /usr/hdp/2.3.4.0-3485/hbase/lib/ruby/hbase/hbase.rb:42
(root) at /usr/hdp/2.3.4.0-3485/hbase/bin/hirb.rb:131
ROOT CAUSE:
The user of hbase shell needs read and write permissions on the hbase tmp directory configured by the hbase.tmp.dir property in hbase-site.xml.
To verify your hbase tmp directory configuration settings:
# grep -C2 "hbase.tmp.dir" /etc/hbase/conf/hbase-site.xml
hbase.local.dir
${hbase.tmp.dir}/local
--
hbase.tmp.dir
/tmp/hbase-${user.name}
RESOLUTION:
Ensure the users of hbase shell have read and write permissions for hbase.tmp.dir
页:
[1]