[
https://issues.apache.org/jira/browse/HBASE-8376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
rajeshbabu updated HBASE-8376:
------------------------------
Description:
Presently we are ignoring timeout in
watiForMasterToStop,watiForRegionServerToStop methods in MiniHBaseCluster
{code}
@Override
public void waitForRegionServerToStop(ServerName serverName, long timeout)
throws IOException {
//ignore timeout for now
waitOnRegionServer(getRegionServerIndex(serverName));
}
{code}
{code}
@Override
public void waitForMasterToStop(ServerName serverName, long timeout) throws
IOException {
//ignore timeout for now
waitOnMaster(getMasterIndex(serverName));
}
{code}
We can implement timeout in these methods.
> MiniHBaseCluster#waitFor{Master|RegionServer)ToStop should implement timeout.
> -----------------------------------------------------------------------------
>
> Key: HBASE-8376
> URL: https://issues.apache.org/jira/browse/HBASE-8376
> Project: HBase
> Issue Type: Improvement
> Components: test
> Reporter: rajeshbabu
> Assignee: rajeshbabu
> Priority: Minor
>
> Presently we are ignoring timeout in
> watiForMasterToStop,watiForRegionServerToStop methods in MiniHBaseCluster
> {code}
> @Override
> public void waitForRegionServerToStop(ServerName serverName, long timeout)
> throws IOException {
> //ignore timeout for now
> waitOnRegionServer(getRegionServerIndex(serverName));
> }
> {code}
> {code}
> @Override
> public void waitForMasterToStop(ServerName serverName, long timeout) throws
> IOException {
> //ignore timeout for now
> waitOnMaster(getMasterIndex(serverName));
> }
> {code}
> We can implement timeout in these methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira