瀏覽代碼

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
Colin McCabe 12 年之前
父節點
當前提交
4839eca238

+ 0 - 2
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -33,8 +33,6 @@ Release 2.3.0 - UNRELEASED
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
   BUG FIXES
   BUG FIXES
-    HDFS-5034.  Remove debug prints from GetFileLinkInfo (Andrew Wang via Colin
-    Patrick McCabe)
 
 
 Release 2.1.1-beta - UNRELEASED
 Release 2.1.1-beta - UNRELEASED
 
 

+ 2 - 0
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/ClientNamenodeProtocolServerSideTranslatorPB.java

@@ -707,9 +707,11 @@ public class ClientNamenodeProtocolServerSideTranslatorPB implements
     try {
     try {
       HdfsFileStatus result = server.getFileLinkInfo(req.getSrc());
       HdfsFileStatus result = server.getFileLinkInfo(req.getSrc());
       if (result != null) {
       if (result != null) {
+        System.out.println("got non null result for getFileLinkInfo for " + req.getSrc());
         return GetFileLinkInfoResponseProto.newBuilder().setFs(
         return GetFileLinkInfoResponseProto.newBuilder().setFs(
             PBHelper.convert(result)).build();
             PBHelper.convert(result)).build();
       } else {
       } else {
+        System.out.println("got  null result for getFileLinkInfo for " + req.getSrc());
         return VOID_GETFILELINKINFO_RESPONSE;      
         return VOID_GETFILELINKINFO_RESPONSE;      
       }
       }