[ 
https://issues.apache.org/jira/browse/YARN-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14364199#comment-14364199
 ] 

Hudson commented on YARN-3349:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #7339 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/7339/])
YARN-3349. Treat all exceptions as failure in 
TestFSRMStateStore#testFSRMStateStoreClientRetry. Contributed by Zhihai Xu. 
(ozawa: rev 7522a643faeea2d8a8e2c7409ae60e0973e7cf38)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/TestFSRMStateStore.java
* hadoop-yarn-project/CHANGES.txt


> Treat all exceptions as failure in 
> TestFSRMStateStore#testFSRMStateStoreClientRetry
> -----------------------------------------------------------------------------------
>
>                 Key: YARN-3349
>                 URL: https://issues.apache.org/jira/browse/YARN-3349
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 2.6.0
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: YARN-3349.000.patch
>
>
> treat all exceptions as failure in testFSRMStateStoreClientRetry.
> Currently the exception "could only be replicated to 0 nodes instead of 
> minReplication (=1)" is not treated as failure in 
> testFSRMStateStoreClientRetry.
> {code}
>             // TODO 0 datanode exception will not be retried by dfs client, 
> fix
>             // that separately.
>             if (!e.getMessage().contains("could only be replicated" +
>                 " to 0 nodes instead of minReplication (=1)")) {
>                 assertionFailedInThread.set(true);
>              }
> {code}
> With YARN-2820(Retry in FileSystemRMStateStore), we needn't treat this  
> exception specially. We can remove the check and treat all exceptions as 
> failure in testFSRMStateStoreClientRetry.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to