You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Brock Noland (JIRA)" <ji...@apache.org> on 2013/07/18 18:28:49 UTC

[jira] [Created] (HIVE-4882) PTest2 via the Cloud Provider doesn't replace bad hosts if an exception occurs

Brock Noland created HIVE-4882:
----------------------------------

             Summary: PTest2 via the Cloud Provider doesn't replace bad hosts if an exception occurs
                 Key: HIVE-4882
                 URL: https://issues.apache.org/jira/browse/HIVE-4882
             Project: Hive
          Issue Type: Bug
            Reporter: Brock Noland


In PTest2 if there is an exception during a run, we don't replace the bad hosts. Specifically this code in PTest.run should be in a finally block:

{noformat}
        for(HostExecutor hostExecutor : mHostExecutors) {
          if(hostExecutor.remainingDrones() == 0) {
            mExecutionContext.addBadHost(hostExecutor.getHost());
          }
        }
{noformat}

--
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