Fix previous merge (1189501) for HDFS-2501.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1189515 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2011-10-26 22:50:40 +00:00
parent e70025b903
commit 72ada35360
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ public class NamenodeWebHdfsMethods {
final String js = JsonUtil.toJsonString("boolean", b);
return Response.ok(js).type(MediaType.APPLICATION_JSON).build();
} else {
np.rename(fullpath, dstPath.getValue(),
np.rename(fullpath, destination.getValue(),
s.toArray(new Options.Rename[s.size()]));
return Response.ok().type(MediaType.APPLICATION_JSON).build();
}