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

Chris Nauroth updated HADOOP-10422:
-----------------------------------

    Attachment: HADOOP-10422.1.patch

I'm attaching a patch.  This was discovered while testing HDFS ACLs with 
{{dfs.client.retry.policy.enabled}} set to {{true}}.  Running the ls command 
would print a stack trace if the NameNode does not have ACLs enabled, or if the 
NameNode is pre-2.4 and therefore does not have the ACL RPC endpoints defined.  
The same log message is logged at both debug and info level.  Retries are 
supposed to be transparent to the client, so it's appropriate for this logging 
to be at debug level, and we can remove the redundant info level log.

> Remove redundant logging of RPC retry attempts.
> -----------------------------------------------
>
>                 Key: HADOOP-10422
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10422
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 2.3.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-10422.1.patch
>
>
> {{RetryUtils}} logs each retry attempt at both info level and debug level.



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

Reply via email to