From 4839eca23845d79cdadde228ad0e00106ad8de65 Mon Sep 17 00:00:00 2001 From: Colin McCabe Date: Fri, 26 Jul 2013 17:19:32 +0000 Subject: [PATCH] reverting HDFS-5034 because jenkins did not run on it git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1507372 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 cd4ed9e2556..24ed712588d 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -33,8 +33,6 @@ 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 d7a18a60ac8..55be4be4960 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,9 +707,11 @@ 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; }