Nihal Jain created HBASE-21629: ---------------------------------- Summary: 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: 2.1.1, 3.0.0, 2.1.2 Reporter: Nihal Jain Assignee: Nihal Jain
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)