You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2017/05/03 13:54:04 UTC

[jira] [Created] (HBASE-17988) get-active-master.rb and draining_servers.rb no longer work

Mike Drob created HBASE-17988:
---------------------------------

             Summary: get-active-master.rb and draining_servers.rb no longer work
                 Key: HBASE-17988
                 URL: https://issues.apache.org/jira/browse/HBASE-17988
             Project: HBase
          Issue Type: Bug
          Components: scripts
    Affects Versions: 2.0.0
            Reporter: Mike Drob
            Priority: Critical


The scripts {{bin/get-active-master.rb}} and {{bin/draining_servers.rb}} no longer work on current master branch. Here is an example error message:

{noformat}
$ bin/hbase-jruby bin/get-active-master.rb 
NoMethodError: undefined method `masterAddressZNode' for #<Java::OrgApacheHadoopHbaseZookeeper::ZooKeeperWatcher:0x1b0e9707>
  <main> at bin/get-active-master.rb:35
{noformat}

My initial probing suggests that this is likely due to movement that happened in HBASE-16690. Perhaps instead of reworking the ruby, there is similar Java functionality already existing somewhere.

Putting priority at critical since it's impossible to know whether users rely on the scripts.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)