yangagile commented on a change in pull request #2235:
URL: https://github.com/apache/hadoop/pull/2235#discussion_r475395592



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
##########
@@ -732,6 +732,14 @@ protected Response put(
         return Response.ok().type(MediaType.APPLICATION_OCTET_STREAM).build();
       }
     }
+    case BATCH_RENAME:
+    {
+      validateOpParams(op, destination);
+      final EnumSet<Options.Rename> s = renameOptions.getValue();
+      cp.batchRename(fullpath.split(":"), destination.getValue().split(":"),

Review comment:
       The ":" is invalid character for hadoop absolute path, please refer to 
the method DFSUtilClient.isValidName().
   




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to