BukrosSzabolcs commented on a change in pull request #592: HBASE-22982: region server suspend/resume and graceful rolling restart actions URL: https://github.com/apache/hbase/pull/592#discussion_r328134999
########## File path: hbase-server/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java ########## @@ -489,6 +499,32 @@ public String abortRegionServer(int serverNumber) { return server; } + /** + * Suspend the specified region server + * @param serverNumber Used as index into a list. + * @return + */ + public JVMClusterUtil.RegionServerThread suspendRegionServer(int serverNumber) { + JVMClusterUtil.RegionServerThread server = + hbaseCluster.getRegionServers().get(serverNumber); + LOG.info("Suspending " + server.toString()); Review comment: Done ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services