In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Recently, a new gateway has been deployed. Users connect to hbase in the way of executing hbase shell and report an error.
[testuser@ip-192-168133-238 lib] $hbase shellSLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [Found binding in] SLF4J: Found binding in [JarJV fileGear] Found binding in [JarJV fileGear] LBG [JarJV fileGundle] LIBG [JarJV fileGundle] LIBG / StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/local/hadoop/hbase-1.1.3/lib/slf4j-log4j12-1.7.5.jar http://www. http://www. slf4j implant http://www.] SLF4J: Found binding in [jar:file:/usr/local/hadoop/hadoop-2.7.1/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jarbank http://www.] SLF4J: jarring http://www. Slf4j.org/codes.html#multiple_bindings for an explanation.SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] NativeException: java.io.IOException: java.lang.reflect.InvocationTargetException initialize at / usr/local/hadoop/hbase-release/lib/ruby/hbase/hbase.rb:42 (root) at / usr/local/hadoop/hbase-release/bin/hirb.rb:118
After Baidu, solve the problem. This is due to the path set by testuesr to hbase.tmp.dir and does not have read and write permissions. Just add permissions. (actually, I didn't create this path at all. Since it is gateway, I just take advantage of hbase's software and configuration files as clients. And don't start it. Naturally, I didn't expect that these paths would also affect the use of hbase shell. )
Unable to start hbase shell due to java.io.IOException: java.lang.reflect.InvocationTargetException SYMPTOM: When attempting to execute "hbase shell" as a non-root / non-hbase user, hbase shell fails with the following exception: [jyoung@jyoung-hdp234-1 ~] $hbase shell SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/hdp/2.3.4.0-3485/hadoop/lib/slf4j-log4j12-1.7.10.jar http://www.slf4j.org/codes.html#multiple_bindings for an explanation] SLF4J: Found binding in [jar:file:/usr/hdp/2.3.4.0-3485/zookeeper/lib/slf4j-log4j12-1.6.1.jar http://www.slf4j.org/codes.html#multiple_bindings for an explanation] SLF4J: See Logger Binder.class. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] 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: [root@jyoung-hdp234-1 ~] # 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
Reference link:
Https://community.hortonworks.com/content/supportkb/150642/unable-to-start-hbase-shell-due-to-javaioioexcepti.html
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.