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:
parent
e70025b903
commit
72ada35360
|
@ -309,7 +309,7 @@ public class NamenodeWebHdfsMethods {
|
||||||
final String js = JsonUtil.toJsonString("boolean", b);
|
final String js = JsonUtil.toJsonString("boolean", b);
|
||||||
return Response.ok(js).type(MediaType.APPLICATION_JSON).build();
|
return Response.ok(js).type(MediaType.APPLICATION_JSON).build();
|
||||||
} else {
|
} else {
|
||||||
np.rename(fullpath, dstPath.getValue(),
|
np.rename(fullpath, destination.getValue(),
|
||||||
s.toArray(new Options.Rename[s.size()]));
|
s.toArray(new Options.Rename[s.size()]));
|
||||||
return Response.ok().type(MediaType.APPLICATION_JSON).build();
|
return Response.ok().type(MediaType.APPLICATION_JSON).build();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue