[
https://issues.apache.org/jira/browse/HADOOP-13001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253164#comment-15253164
]
Hudson commented on HADOOP-13001:
---------------------------------
FAILURE: Integrated in Hadoop-trunk-Commit #9651 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/9651/])
HADOOP-13001 - Clearly Document the Password Details for Keystore-based
(lmccay: rev 3ba490763e5dfcd6ee0def4c63405c20b2721c8c)
* hadoop-common-project/hadoop-common/src/site/markdown/CredentialProviderAPI.md
> RetryPolicies$RetryUpToMaximumTimeWithFixedSleep raises division by zero
> exception if the sleep time is 0, even if max wait == 0
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-13001
> URL: https://issues.apache.org/jira/browse/HADOOP-13001
> Project: Hadoop Common
> Issue Type: Bug
> Components: ipc
> Affects Versions: 2.7.2
> Reporter: Steve Loughran
>
> set YARN RM max wait and retry intervals to 0, try to talk to an RM, get an
> arithmetic exception
> {code}
> Caused by: java.lang.ArithmeticException: / by zero
> at
> org.apache.hadoop.io.retry.RetryPolicies$RetryUpToMaximumTimeWithFixedSleep.<init>(RetryPolicies.java:265)
> at
> org.apache.hadoop.io.retry.RetryPolicies.retryUpToMaximumTimeWithFixedSleep(RetryPolicies.java:89)
> at
> org.apache.hadoop.yarn.client.RMProxy.createRetryPolicy(RMProxy.java:237)
> at
> org.apache.hadoop.yarn.client.RMProxy.createRMProxy(RMProxy.java:91)
> at
> org.apache.hadoop.yarn.client.ClientRMProxy.createRMProxy(ClientRMProxy.java:72)
> at
> org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.serviceStart(YarnClientImpl.java:188)
> at
> org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
> at
> org.apache.spark.deploy.history.yarn.server.YarnHistoryProvider.initYarnClient(YarnHistoryProvider.scala:931)
> at
> org.apache.spark.deploy.history.yarn.server.YarnHistoryProvider.init(YarnHistoryProvider.scala:296)
> {code}
> I'd have expected the code to recognise the caller is saying "don't retry",
> but clearly not
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)