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@1507406 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Colin McCabe 2013-07-26 19:21:31 +00:00
parent e55d0ef515
commit 07b076917e
2 changed files with 2 additions and 2 deletions

View File

@ -264,6 +264,8 @@ 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

View File

@ -707,11 +707,9 @@ 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;
} }