<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: HBase Shell giving error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168470#M130800</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2924/ssoldatov.html" nodeid="2924"&gt;@ssoldatov&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks...!&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;/usr/hdp/current/hbase-master/lib&lt;/STRONG&gt; &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;protobuf-java-3.1.0.jar -&amp;gt; /usr/ibmpacks/current/bigmatch/hbase/lib/protobuf-java-3.1.0.jar&lt;/LI&gt;&lt;LI&gt;spark-assembly-1.6.2.2.5.0.0-1245-hadoop2.7.3.2.5.0.0-1245.jar -&amp;gt; /usr/ibmpacks/current/bigmatch/hbase/lib/sparkassembly-1.6.2.2.5.0.0-1245-hadoop2.7.3.2.5.0.0-1245.jar&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I &lt;STRONG&gt;unlink&lt;/STRONG&gt; above two and changed &lt;STRONG&gt;protobuf-java-3.1.0.jar&lt;/STRONG&gt; from &lt;STRONG&gt;protobuf-java-2.5.0.jar &lt;/STRONG&gt;in /hbase/lib and follow below link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/28563167/hbase-master-not-starting-correctly"&gt;http://stackoverflow.com/questions/28563167/hbase-master-not-starting-correctly&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It worked for me.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Nov 2016 23:49:21 GMT</pubDate>
    <dc:creator>bajpaiharishdut</dc:creator>
    <dc:date>2016-11-25T23:49:21Z</dc:date>
    <item>
      <title>HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168455#M130785</link>
      <description>&lt;P&gt;NoMethodError: undefined method `getTerminal' for Java::Jline::Terminal:Module &lt;/P&gt;&lt;P&gt;refresh_width at /usr/hdp/2.5.0.0-1245/hbase/lib/ruby/shell/formatter.rb:33&lt;/P&gt;&lt;P&gt; initialize at /usr/hdp/2.5.0.0-1245/hbase/lib/ruby/shell/formatter.rb:46 &lt;/P&gt;&lt;P&gt;(root) at /usr/hdp/2.5.0.0-1245/hbase/bin/hirb.rb:128&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;I found it required higher version of protobuf jar so I updated HBase lib by replacing to &lt;STRONG&gt;protobuf-java-3.1.0.jar&lt;/STRONG&gt; from &lt;STRONG&gt;protobuf-java-2.5.0.jar&lt;/STRONG&gt;, still facing same error.&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 13:38:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168455#M130785</guid>
      <dc:creator>bajpaiharishdut</dc:creator>
      <dc:date>2016-11-08T13:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168456#M130786</link>
      <description>&lt;P&gt;Did you make any changes in the hbase classpath or any new jars added to the lib directory? It seems that you have wrong jline there. &lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 13:44:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168456#M130786</guid>
      <dc:creator>ssoldatov</dc:creator>
      <dc:date>2016-11-08T13:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168457#M130787</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2924/ssoldatov.html" nodeid="2924"&gt;@ssoldatov&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I did not changed hbase classpath, I just replace &lt;STRONG&gt;protobuf jar&lt;/STRONG&gt; that I mentioned above&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2924/ssoldatov.html" nodeid="2924"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 13:58:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168457#M130787</guid>
      <dc:creator>bajpaiharishdut</dc:creator>
      <dc:date>2016-11-08T13:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168458#M130788</link>
      <description>&lt;P&gt;
@&lt;A href="https://community.hortonworks.com/users/13949/bajpaiharishdutt.html"&gt;HARISH BAJPAI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;NoMethodError  indicates that you are not using the correct version of jar in the classpath.   &lt;/P&gt;&lt;P&gt;This is because the  "&lt;STRONG&gt;protobuf-java-2.5.0.jar"&lt;/STRONG&gt; might be having some classes with different method signature and the newer jar might have different syntax of those methods so you will get    errors like you are getting.  [NoMethodError: undefined method `getTerminal']&lt;/P&gt;&lt;P&gt;Which means in the newer version of the jar  "getTerminal" method seems to be removed. &lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 15:45:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168458#M130788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-11-08T15:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168459#M130789</link>
      <description>&lt;P&gt;I would suggest to return back the original protobuf (there was a thread about a similar issue somewhere on the internet, but this issue is not relevant to the protobuf). And check that no new jars  were added to the HBase lib directory (like phoenix-client for example).&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 15:53:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168459#M130789</guid>
      <dc:creator>ssoldatov</dc:creator>
      <dc:date>2016-11-08T15:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168460#M130790</link>
      <description>&lt;P&gt;As suggested I return back the original protobuf, but still facing same error.
There is no new jar is added in /hbase/lib but we have phoenix, ranger etc jar as I installed all this by Ambari.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 19:07:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168460#M130790</guid>
      <dc:creator>bajpaiharishdut</dc:creator>
      <dc:date>2016-11-08T19:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168461#M130791</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@jss&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In this case what should me next course of action?
&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 19:09:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168461#M130791</guid>
      <dc:creator>bajpaiharishdut</dc:creator>
      <dc:date>2016-11-08T19:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168462#M130792</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/13949/bajpaiharishdutt.html"&gt;HARISH BAJPAI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/13949/bajpaiharishdutt.html"&gt; &lt;/A&gt;Please do not try to upgrade individual JARs Major Version. Because with every major version change many APIs are changed completely, Like some methods are added new/  some methods are removed and some methods signature is changed.     So i will suggest you to not to upgrade the Major version  (from &lt;STRONG&gt;2.5.0 &lt;/STRONG&gt; to  &lt;STRONG&gt;3.1.0&lt;/STRONG&gt; ).    Please revert back to your old jar  "&lt;STRONG&gt;protobuf-java-2.5.0.jar&lt;/STRONG&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 19:15:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168462#M130792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-11-08T19:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168463#M130793</link>
      <description>&lt;P&gt;@@&lt;A href="https://community.hortonworks.com/users/13949/bajpaiharishdutt.html"&gt;HARISH BAJPAI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://abi-laboratory.pro/java/tracker/timeline/protobuf-java/" target="_blank"&gt;https://abi-laboratory.pro/java/tracker/timeline/protobuf-java/&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can get the details by clicking on the "Removed Methods" and "Added Methods" links &lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 19:20:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168463#M130793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-11-08T19:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168464#M130794</link>
      <description>&lt;P&gt;Can you run ls -la /usr/hdp/2.5.0.0-1245/hbase/lib/*.jar and attach output here?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 20:47:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168464#M130794</guid>
      <dc:creator>ssoldatov</dc:creator>
      <dc:date>2016-11-08T20:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168465#M130795</link>
      <description>&lt;P&gt;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. &lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 04:04:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168465#M130795</guid>
      <dc:creator>Enis</dc:creator>
      <dc:date>2016-11-09T04:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168466#M130796</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 07:50:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168466#M130796</guid>
      <dc:creator>smishra1</dc:creator>
      <dc:date>2016-11-15T07:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168467#M130797</link>
      <description>&lt;P&gt;I have HDP2.5, I changed protobuf-3.0 with default one.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 18:04:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168467#M130797</guid>
      <dc:creator>bajpaiharishdut</dc:creator>
      <dc:date>2016-11-17T18:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168468#M130798</link>
      <description>&lt;P&gt;[root@HDCLUS01-HOST6 lib]# cat /etc/hbase/conf/hbase-site.xml |grep -1 hbase.tmp&lt;/P&gt;&lt;P&gt;&amp;lt;name&amp;gt;hbase.local.dir&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;value&amp;gt;${hbase.tmp.dir}/local&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;name&amp;gt;hbase.tmp.dir&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;value&amp;gt;/tmp/hbase-${user.name}&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------
As mentioned above I provide chmod 777, but my bad still getting same error&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 14:31:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168468#M130798</guid>
      <dc:creator>bajpaiharishdut</dc:creator>
      <dc:date>2016-11-23T14:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168469#M130799</link>
      <description>&lt;P&gt;I changed &lt;STRONG&gt;jruby-complete-1.7.4.jar&lt;/STRONG&gt; to &lt;STRONG&gt;jruby-complete-1.6.8 in &lt;/STRONG&gt;/hbase/lib&lt;STRONG&gt;,
&lt;/STRONG&gt;I tried  to restart HBase but not Hmaster is stopped with "&lt;STRONG&gt;Connection refused to hdclus01-host6:16000&lt;/STRONG&gt;"&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 14:36:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168469#M130799</guid>
      <dc:creator>bajpaiharishdut</dc:creator>
      <dc:date>2016-11-23T14:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Shell giving error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168470#M130800</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2924/ssoldatov.html" nodeid="2924"&gt;@ssoldatov&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks...!&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;/usr/hdp/current/hbase-master/lib&lt;/STRONG&gt; &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;protobuf-java-3.1.0.jar -&amp;gt; /usr/ibmpacks/current/bigmatch/hbase/lib/protobuf-java-3.1.0.jar&lt;/LI&gt;&lt;LI&gt;spark-assembly-1.6.2.2.5.0.0-1245-hadoop2.7.3.2.5.0.0-1245.jar -&amp;gt; /usr/ibmpacks/current/bigmatch/hbase/lib/sparkassembly-1.6.2.2.5.0.0-1245-hadoop2.7.3.2.5.0.0-1245.jar&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I &lt;STRONG&gt;unlink&lt;/STRONG&gt; above two and changed &lt;STRONG&gt;protobuf-java-3.1.0.jar&lt;/STRONG&gt; from &lt;STRONG&gt;protobuf-java-2.5.0.jar &lt;/STRONG&gt;in /hbase/lib and follow below link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/28563167/hbase-master-not-starting-correctly"&gt;http://stackoverflow.com/questions/28563167/hbase-master-not-starting-correctly&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It worked for me.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 23:49:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Shell-giving-error/m-p/168470#M130800</guid>
      <dc:creator>bajpaiharishdut</dc:creator>
      <dc:date>2016-11-25T23:49:21Z</dc:date>
    </item>
  </channel>
</rss>

