<?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: ArgumentError: wrong number of arguments (3 for 2) while opening Hbase shell in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139909#M27792</link>
    <description>&lt;P&gt;I would suspect a version mismatch between an installed version of ruby / jruby and the one required by HBase. &lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2016 07:57:38 GMT</pubDate>
    <dc:creator>Enis</dc:creator>
    <dc:date>2016-05-13T07:57:38Z</dc:date>
    <item>
      <title>ArgumentError: wrong number of arguments (3 for 2) while opening Hbase shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139903#M27786</link>
      <description>&lt;P&gt;while opening Hbase shell from command line as below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[hbase$host ~] $ hbase shell&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;getting below error.
ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134&lt;/P&gt;&lt;P&gt;Please advise on this.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 13:37:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139903#M27786</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-10T13:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: ArgumentError: wrong number of arguments (3 for 2) while opening Hbase shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139904#M27787</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/350/vpoornalingam.html" nodeid="350"&gt;@vpoornalingam&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/768/pvyas.html" nodeid="768"&gt;@Pranay Vyas&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any suggestion on this please.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 13:56:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139904#M27787</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-10T13:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArgumentError: wrong number of arguments (3 for 2) while opening Hbase shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139905#M27788</link>
      <description>&lt;P&gt;Can you try to run in the debug mode: "hbase shell -d", and see are there any clues. Is your Zookeeper up and running? If you are using Ambari can you try ZK and HBase service checks. hbase shell is supposed to work even if HBase is stopped (but you want be able to see any tables).&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 14:02:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139905#M27788</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-05-10T14:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: ArgumentError: wrong number of arguments (3 for 2) while opening Hbase shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139906#M27789</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;@Predrag Minovic&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Same issue in debug mode also.
&lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Service check for Zookeeper succeeded.&lt;/P&gt;&lt;P&gt;But service check for Hbase failed with the below error log.&lt;/P&gt;&lt;P&gt;stderr: 
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/service_check.py", line 88, in &amp;lt;module&amp;gt;
  HbaseServiceCheck().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
  method(env)
  File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/service_check.py", line 84, in service_check
  logoutput = True
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
  self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run
  self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action
  provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 238, in action_run
  tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
  result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
  tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
  result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
  raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of ' /usr/hdp/current/hbase-client/bin/hbase --config /usr/hdp/current/hbase-client/conf shell /var/lib/ambari-agent/tmp/hbase-smoke.sh &amp;amp;&amp;amp; /var/lib/ambari-agent/tmp/hbaseSmokeVerify.sh /usr/hdp/current/hbase-client/conf ida8c0a001_date491016 /usr/hdp/current/hbase-client/bin/hbase' returned 1. ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134
 stdout:
2016-05-10 12:49:23,216 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2016-05-10 12:49:23,230 - File['/var/lib/ambari-agent/tmp/hbaseSmokeVerify.sh'] {'content': StaticFile('hbaseSmokeVerify.sh'), 'mode': 0755}
2016-05-10 12:49:23,243 - Writing File['/var/lib/ambari-agent/tmp/hbaseSmokeVerify.sh'] because it doesn't exist
2016-05-10 12:49:23,244 - Changing permission for /var/lib/ambari-agent/tmp/hbaseSmokeVerify.sh from 644 to 755
2016-05-10 12:49:23,262 - File['/var/lib/ambari-agent/tmp/hbase-smoke.sh'] {'content': Template('hbase-smoke.sh.j2'), 'mode': 0755}
2016-05-10 12:49:23,263 - Writing File['/var/lib/ambari-agent/tmp/hbase-smoke.sh'] because it doesn't exist
2016-05-10 12:49:23,264 - Changing permission for /var/lib/ambari-agent/tmp/hbase-smoke.sh from 644 to 755
2016-05-10 12:49:23,265 - Execute[' /usr/hdp/current/hbase-client/bin/hbase --config /usr/hdp/current/hbase-client/conf shell /var/lib/ambari-agent/tmp/hbase-smoke.sh &amp;amp;&amp;amp; /var/lib/ambari-agent/tmp/hbaseSmokeVerify.sh /usr/hdp/current/hbase-client/conf ida8c0a001_date491016 /usr/hdp/current/hbase-client/bin/hbase'] {'logoutput': True, 'tries': 6, 'user': 'ambari-qa', 'try_sleep': 5}
ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134
2016-05-10 12:49:30,579 - Retrying after 5 seconds. Reason: Execution of ' /usr/hdp/current/hbase-client/bin/hbase --config /usr/hdp/current/hbase-client/conf shell /var/lib/ambari-agent/tmp/hbase-smoke.sh &amp;amp;&amp;amp; /var/lib/ambari-agent/tmp/hbaseSmokeVerify.sh /usr/hdp/current/hbase-client/conf ida8c0a001_date491016 /usr/hdp/current/hbase-client/bin/hbase' returned 1. ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134
ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134
2016-05-10 12:49:42,468 - Retrying after 5 seconds. Reason: Execution of ' /usr/hdp/current/hbase-client/bin/hbase --config /usr/hdp/current/hbase-client/conf shell /var/lib/ambari-agent/tmp/hbase-smoke.sh &amp;amp;&amp;amp; /var/lib/ambari-agent/tmp/hbaseSmokeVerify.sh /usr/hdp/current/hbase-client/conf ida8c0a001_date491016 /usr/hdp/current/hbase-client/bin/hbase' returned 1. ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134
ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134
2016-05-10 12:49:54,597 - Retrying after 5 seconds. Reason: Execution of ' /usr/hdp/current/hbase-client/bin/hbase --config /usr/hdp/current/hbase-client/conf shell /var/lib/ambari-agent/tmp/hbase-smoke.sh &amp;amp;&amp;amp; /var/lib/ambari-agent/tmp/hbaseSmokeVerify.sh /usr/hdp/current/hbase-client/conf ida8c0a001_date491016 /usr/hdp/current/hbase-client/bin/hbase' returned 1. ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134
ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134
2016-05-10 12:50:06,916 - Retrying after 5 seconds. Reason: Execution of ' /usr/hdp/current/hbase-client/bin/hbase --config /usr/hdp/current/hbase-client/conf shell /var/lib/ambari-agent/tmp/hbase-smoke.sh &amp;amp;&amp;amp; /var/lib/ambari-agent/tmp/hbaseSmokeVerify.sh /usr/hdp/current/hbase-client/conf ida8c0a001_date491016 /usr/hdp/current/hbase-client/bin/hbase' returned 1. ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134
ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134
2016-05-10 12:50:18,559 - Retrying after 5 seconds. Reason: Execution of ' /usr/hdp/current/hbase-client/bin/hbase --config /usr/hdp/current/hbase-client/conf shell /var/lib/ambari-agent/tmp/hbase-smoke.sh &amp;amp;&amp;amp; /var/lib/ambari-agent/tmp/hbaseSmokeVerify.sh /usr/hdp/current/hbase-client/conf ida8c0a001_date491016 /usr/hdp/current/hbase-client/bin/hbase' returned 1. ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134
ArgumentError: wrong number of arguments (3 for 2)
  (root) at /usr/hdp/2.4.0.0-169/hbase/bin/hirb.rb:134&lt;/P&gt;&lt;P&gt;Any help would be appreciated !&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 14:28:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139906#M27789</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-10T14:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: ArgumentError: wrong number of arguments (3 for 2) while opening Hbase shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139907#M27790</link>
      <description>&lt;P&gt;In debug mode also same issue.&lt;/P&gt;&lt;P&gt;Zookeeper server and clients are up and running in all 3 nodes.&lt;/P&gt;&lt;P&gt;Service check for Hbase failed.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 15:56:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139907#M27790</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-10T15:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: ArgumentError: wrong number of arguments (3 for 2) while opening Hbase shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139908#M27791</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;@Predrag Minovic&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;&lt;/A&gt;This issue has been fixed after removing &lt;STRONG&gt;interactive &lt;/STRONG&gt;from /usr/hdp/current/hbase-master/bin/hirb in line no.134&lt;/P&gt;&lt;P&gt;Thanks for all your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 17:06:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139908#M27791</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-10T17:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: ArgumentError: wrong number of arguments (3 for 2) while opening Hbase shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139909#M27792</link>
      <description>&lt;P&gt;I would suspect a version mismatch between an installed version of ruby / jruby and the one required by HBase. &lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 07:57:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ArgumentError-wrong-number-of-arguments-3-for-2-while/m-p/139909#M27792</guid>
      <dc:creator>Enis</dc:creator>
      <dc:date>2016-05-13T07:57:38Z</dc:date>
    </item>
  </channel>
</rss>

