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

draining_servers.rb is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.1.1, 2.1.2
    • 3.0.0-alpha-1, 2.2.0, 2.1.2, 2.0.4
    • scripts
    • None

    Description

      1) Handle missing methods and implementation changes in core code.

      • In ZKWatcher.java, variable znodePaths has now been made private from public (See HBASE-19761). Currently the script directly tries to reference znodePaths which will result in exception.
      • Also, joinZNode method is moved to ZNodePaths and removed from ZKUtil (See HBASE-19200). The script relies on non-existant ZKUtil.joinZNode().

      2) Close zk watcher while list draining servers: The list functionality does not close the zkw instance.

      Attachments

        1. add_before.png
          303 kB
          Nihal Jain
        2. add_then_list_after.png
          279 kB
          Nihal Jain
        3. HBASE-21629.master.001.patch
          2 kB
          Nihal Jain
        4. list_after.png
          264 kB
          Nihal Jain
        5. list_before.png
          248 kB
          Nihal Jain
        6. remove_before.png
          307 kB
          Nihal Jain
        7. remove_then_list_after.png
          269 kB
          Nihal Jain

        Activity

          People

            nihaljain.cs Nihal Jain
            nihaljain.cs Nihal Jain
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: