hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rajeshbabu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-8376) MiniHBaseCluster#waitFor{Master|RegionServer)ToStop should implement timeout.
Date Thu, 18 Apr 2013 18:22:13 GMT

     [ 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

Mime
View raw message