In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
An error occurred when linking HBase with HBase client today. There are two errors:
1 、 org.apache.zookeeper.client.ZooKeeperSaslClient: SecurityException: java.lang.SecurityException
2 、
Call to sun/192.168.0.20:60020 failed on local exception
The first question at first thought that there was something wrong with my ZooKeeper configuration, and then there was still a problem with the new configuration. I suddenly thought that when I linked HBase with the DataNucleus plug-in, ZooKeeper did not make an error. This should rule out the configuration problem, and then I looked for information. Some people said that it was the jar package. Then I checked that the jar package in the program was really different from the jar package in HBase. The jar package in the lib file in my HBase is zookeeper-3.3.2. The jar package in the program is zookeeper-3.4.3, and the first error disappears after replacing the jar package in the program with the jar package in lib in HBase.
After the solution to the first problem, the second problem, I guess, is also the jar problem, so I check the jar package, and the main object is the HBase-related jar package. After checking that the jar package of HBase is hbase-0.92.1.jar, and my version of HBase is slightly lower, is it hbase-0.90.3.jar, or after the above step replaced the jar package, the second error is also resolved.
It seems that the compatibility problem of jar is indeed worth paying attention to. It has been the case before writing programs with java. There are certainly more such problems under hadoop, so we should pay more attention to it in the future.
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.