Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8376

MiniHBaseCluster#waitFor{Master|RegionServer)ToStop should implement timeout.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • test
    • None

    Description

      Presently we are ignoring timeout in watiForMasterToStop,watiForRegionServerToStop methods in MiniHBaseCluster

        @Override
        public void waitForRegionServerToStop(ServerName serverName, long timeout) throws IOException {
          //ignore timeout for now
          waitOnRegionServer(getRegionServerIndex(serverName));
        }
      
        @Override
        public void waitForMasterToStop(ServerName serverName, long timeout) throws IOException {
          //ignore timeout for now
          waitOnMaster(getMasterIndex(serverName));
        }
      

      We can implement timeout in these methods.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rajesh23 rajeshbabu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: