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

Steve Loughran commented on HADOOP-10036:
-----------------------------------------

stack
{code}
"main" prio=10 tid=0xb6809c00 nid=0x45cb waiting on condition [0xb69b6000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at 
org.apache.hadoop.util.ThreadUtil.sleepAtLeastIgnoreInterrupts(ThreadUtil.java:43)
        at 
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:150)
        at com.sun.proxy.$Proxy10.getApplications(Unknown Source)
        at 
org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.getApplications(YarnClientImpl.java:237)
        at 
org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.getApplications(YarnClientImpl.java:221)
        at 
org.apache.hadoop.hoya.yarn.client.HoyaClient.listHoyaInstances(HoyaClient.java:1182)
        at 
org.apache.hadoop.hoya.yarn.client.HoyaClient.actionList(HoyaClient.java:1201)
        at 
org.apache.hadoop.hoya.yarn.client.HoyaClient.runService(HoyaClient.java:204)
        at 
org.apache.hadoop.yarn.service.launcher.ServiceLauncher.launchService(ServiceLauncher.java:175)
        at 
org.apache.hadoop.yarn.service.launcher.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:383)
        at 
org.apache.hadoop.yarn.service.launcher.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:312)
        at 
org.apache.hadoop.yarn.service.launcher.ServiceLauncher.serviceMain(ServiceLauncher.java:524)
        at org.apache.hadoop.hoya.Hoya.main(Hoya.java:49)
{code}

> RetryInvocationHandler should recognise that there is no point retrying to 
> auth failures
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-10036
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10036
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 2.2.1
>            Reporter: Steve Loughran
>
> The {{RetryInvocationHandler}} tries to retry connections, so as to handle 
> transient failures. 
> However, auth failures aren't treated as special, so it spins even though the 
> operation will not succeed with the current configuration



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to