reverting HDFS-5034 because jenkins did not run on it
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1507373 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
569e609c38
commit
55dfadec80
@ -264,8 +264,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
|
||||
|
||||
|
@ -707,9 +707,11 @@ public GetFileLinkInfoResponseProto getFileLinkInfo(RpcController controller,
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user