Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17988

get-active-master.rb and draining_servers.rb no longer work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0-alpha-2, 2.0.0
    • scripts
    • None

    Description

      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:

      $ 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
      

      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.

      Attachments

        1. HBASE-17988.patch
          3 kB
          Chinmay Kulkarni
        2. HBASE-17988.002.patch
          3 kB
          Chinmay Kulkarni

        Activity

          People

            ckulkarni Chinmay Kulkarni
            mdrob Mike Drob
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: