[ 
https://issues.apache.org/jira/browse/HIVE-4882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brock Noland resolved HIVE-4882.
--------------------------------

    Resolution: Duplicate
    
> PTest2 via the Cloud Provider doesn't replace bad hosts if an exception 
> occurs during a test
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-4882
>                 URL: https://issues.apache.org/jira/browse/HIVE-4882
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Brock Noland
>            Assignee: 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

Reply via email to