Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 49553200BA4 for ; Sat, 15 Oct 2016 15:19:40 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 47E9E160AF1; Sat, 15 Oct 2016 13:19:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8F970160AE7 for ; Sat, 15 Oct 2016 15:19:39 +0200 (CEST) Received: (qmail 341 invoked by uid 500); 15 Oct 2016 13:19:37 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 332 invoked by uid 99); 15 Oct 2016 13:19:37 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Oct 2016 13:19:37 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 720DBE00DC; Sat, 15 Oct 2016 13:19:37 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aajisaka@apache.org To: common-commits@hadoop.apache.org Message-Id: <2cdef43ac5d543d7a257fa298a77ceb8@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hadoop git commit: HDFS-11012. Unnecessary INFO logging on DFSClients for InvalidToken. Contributed by Harsh J. Date: Sat, 15 Oct 2016 13:19:37 +0000 (UTC) archived-at: Sat, 15 Oct 2016 13:19:40 -0000 Repository: hadoop Updated Branches: refs/heads/branch-2.8 3574e5692 -> 65e6a1181 HDFS-11012. Unnecessary INFO logging on DFSClients for InvalidToken. Contributed by Harsh J. (cherry picked from commit 5ad037df25ab3206509083276b7ef4ef001be48b) (cherry picked from commit 35832901e87faa8cde687568df3145bea78b4121) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/65e6a118 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/65e6a118 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/65e6a118 Branch: refs/heads/branch-2.8 Commit: 65e6a1181cb4411741b0805753a0f2ff7c683d9d Parents: 3574e56 Author: Akira Ajisaka Authored: Sat Oct 15 22:14:24 2016 +0900 Committer: Akira Ajisaka Committed: Sat Oct 15 22:19:14 2016 +0900 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/65e6a118/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java index 23cae0e..463ce23 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java @@ -1443,9 +1443,11 @@ public class DFSInputStream extends FSInputStream * access key from its memory since it's considered expired based on * the estimated expiration date. */ - if (ex instanceof InvalidBlockTokenException || ex instanceof InvalidToken) { - DFSClient.LOG.info("Access token was invalid when connecting to " - + targetAddr + " : " + ex); + if (ex instanceof InvalidBlockTokenException || + ex instanceof InvalidToken) { + DFSClient.LOG.debug( + "Access token was invalid when connecting to {}: {}", + targetAddr, ex); return true; } return false; --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-commits-help@hadoop.apache.org