From 935075121fc1e63a06dc5fe0b9b1ce9708f73faf Mon Sep 17 00:00:00 2001 From: Chris Nauroth Date: Mon, 24 Mar 2014 23:24:49 +0000 Subject: [PATCH] HADOOP-10422. Remove redundant logging of RPC retry attempts. Contributed by Chris Nauroth. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1581112 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 2 ++ .../src/main/java/org/apache/hadoop/io/retry/RetryUtils.java | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 3d3769f2ae..7ed16910a5 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -439,6 +439,8 @@ Release 2.4.0 - UNRELEASED HADOOP-10191. Missing executable permission on viewfs internal dirs. (Gera Shegalov via cnauroth) + HADOOP-10422. Remove redundant logging of RPC retry attempts. (cnauroth) + BREAKDOWN OF HADOOP-10184 SUBTASKS AND RELATED JIRAS HADOOP-10185. FileSystem API for ACLs. (cnauroth) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryUtils.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryUtils.java index 2a65d16fdb..e6f4519e78 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryUtils.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryUtils.java @@ -106,8 +106,6 @@ public RetryAction shouldRetry(Exception e, int retries, int failovers, LOG.debug("RETRY " + retries + ") policy=" + p.getClass().getSimpleName() + ", exception=" + e); } - LOG.info("RETRY " + retries + ") policy=" - + p.getClass().getSimpleName() + ", exception=" + e); return p.shouldRetry(e, retries, failovers, isMethodIdempotent); }