[
https://issues.apache.org/jira/browse/HBASE-21629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nihal Jain updated HBASE-21629:
-------------------------------
Attachment: remove_then_list_after.png
add_then_list_after.png
list_after.png
remove_before.png
add_before.png
list_before.png
> draining_servers.rb is broken
> -----------------------------
>
> Key: HBASE-21629
> URL: https://issues.apache.org/jira/browse/HBASE-21629
> Project: HBase
> Issue Type: Bug
> Components: scripts
> Affects Versions: 3.0.0, 2.1.1, 2.1.2
> Reporter: Nihal Jain
> Assignee: Nihal Jain
> Priority: Major
> Attachments: HBASE-21629.master.001.patch, add_before.png,
> add_then_list_after.png, list_after.png, list_before.png, remove_before.png,
> remove_then_list_after.png
>
>
> 1) Handle missing methods and implementation changes in core code.
> * In
> [ZKWatcher.java|https://github.com/apache/hbase/blob/12786f80c14c6f2c3c111a55bbf431fb2e81e828/hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKWatcher.java#L79],
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)