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

draining_servers.rb is broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 2.1.1, 2.1.2
    • Fix Version/s: 3.0.0, 2.2.0, 2.1.2, 2.0.4
    • Component/s: scripts
    • Labels:
      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. HBASE-21629.master.001.patch
          2 kB
          Nihal Jain
        2. list_before.png
          248 kB
          Nihal Jain
        3. remove_before.png
          307 kB
          Nihal Jain
        4. list_after.png
          264 kB
          Nihal Jain
        5. add_then_list_after.png
          279 kB
          Nihal Jain
        6. add_before.png
          303 kB
          Nihal Jain
        7. remove_then_list_after.png
          269 kB
          Nihal Jain

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: