From 569e609c38ff2b671d2f550ffd3e4be374025552 Mon Sep 17 00:00:00 2001 From: Colin McCabe Date: Fri, 26 Jul 2013 17:13:11 +0000 Subject: [PATCH] HDFS-5034. Remove debug prints from GetFileLinkInfo (Andrew Wang via Colin Patrick McCabe) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1507369 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ .../ClientNamenodeProtocolServerSideTranslatorPB.java | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 34b8ebd3e05..aa213fcfd18 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -264,6 +264,8 @@ Release 2.3.0 - UNRELEASED OPTIMIZATIONS BUG FIXES + HDFS-5034. Remove debug prints from GetFileLinkInfo (Andrew Wang via Colin + Patrick McCabe) Release 2.1.1-beta - UNRELEASED diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/ClientNamenodeProtocolServerSideTranslatorPB.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/ClientNamenodeProtocolServerSideTranslatorPB.java index 55be4be4960..d7a18a60ac8 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/ClientNamenodeProtocolServerSideTranslatorPB.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/ClientNamenodeProtocolServerSideTranslatorPB.java @@ -707,11 +707,9 @@ public class ClientNamenodeProtocolServerSideTranslatorPB implements try { HdfsFileStatus result = server.getFileLinkInfo(req.getSrc()); if (result != null) { - System.out.println("got non null result for getFileLinkInfo for " + req.getSrc()); return GetFileLinkInfoResponseProto.newBuilder().setFs( PBHelper.convert(result)).build(); } else { - System.out.println("got null result for getFileLinkInfo for " + req.getSrc()); return VOID_GETFILELINKINFO_RESPONSE; }