hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mit Desai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1281) TestZKRMStateStoreZKClientConnections fails intermittently
Date Wed, 16 Apr 2014 20:00:20 GMT

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

Mit Desai commented on YARN-1281:
---------------------------------

LGTM.
Just one question. In the following change in patch-2
{code}
@@ -136,7 +137,7 @@ public void testZKClientRetry() throws Exception {
     TestZKClient zkClientTester = new TestZKClient();
     final String path = "/test";
     YarnConfiguration conf = new YarnConfiguration();
-    conf.setInt(YarnConfiguration.RM_ZK_TIMEOUT_MS, 1000);
+    conf.setInt(YarnConfiguration.RM_ZK_TIMEOUT_MS, ZK_TIMEOUT_MS);
{code}
The timeout was 1000ms and the ZK_TIMEOUT_MS is also set to 1000. Do you think this will not
cause the timeout issue in future? If unsure, I think setting ZK_TIMEOUT_MS = 1500 would be
a good idea.

> TestZKRMStateStoreZKClientConnections fails intermittently
> ----------------------------------------------------------
>
>                 Key: YARN-1281
>                 URL: https://issues.apache.org/jira/browse/YARN-1281
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Karthik Kambatla
>            Assignee: Tsuyoshi OZAWA
>         Attachments: YARN-1281.1.patch, YARN-1281.2.patch, output.txt
>
>
> The test fails intermittently - haven't been able to reproduce the failure deterministically.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message