hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17988) get-active-master.rb and draining_servers.rb no longer work
Date Wed, 03 May 2017 15:23:04 GMT

    [ https://issues.apache.org/jira/browse/HBASE-17988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995061#comment-15995061

Josh Elser commented on HBASE-17988:

I've been mucking around in the jruby tests that we have -- I can help provide some direction
if that's an blocker.

We should also try to improve the test coverage when this gets fixed.

> 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
> Putting priority at critical since it's impossible to know whether users rely on the

This message was sent by Atlassian JIRA

View raw message