Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HBase Shell giving error

Solved Go to solution

Re: HBase Shell giving error

@@HARISH BAJPAI

For example you can refer to the following link which says that lots of methods have been removed between 2.5 and 3.0 version of Protobuf-java

https://abi-laboratory.pro/java/tracker/timeline/protobuf-java/

You can get the details by clicking on the "Removed Methods" and "Added Methods" links

Highlighted

Re: HBase Shell giving error

Guru

Hbase in HDP-2.5 will NOT work with protobuf-3.0. Please refrain from manually changing libraries or classpath entries of any of the HDP components.

Re: HBase Shell giving error

New Contributor

I have HDP2.5, I changed protobuf-3.0 with default one.

Re: HBase Shell giving error

Cloudera Employee

cat /etc/hbase/conf/hbase-site.xml |grep -1 hbase.tmp, please make sure chmod 777 to hbase.tmp.dir . Things should work after same.

Re: HBase Shell giving error

New Contributor

[root@HDCLUS01-HOST6 lib]# cat /etc/hbase/conf/hbase-site.xml |grep -1 hbase.tmp

<name>hbase.local.dir</name>

<value>${hbase.tmp.dir}/local</value>

</property>

--

<property>

<name>hbase.tmp.dir</name>

<value>/tmp/hbase-${user.name}</value>

----------------------------------------------------------- As mentioned above I provide chmod 777, but my bad still getting same error

Re: HBase Shell giving error

New Contributor

I changed jruby-complete-1.7.4.jar to jruby-complete-1.6.8 in /hbase/lib, I tried to restart HBase but not Hmaster is stopped with "Connection refused to hdclus01-host6:16000"