|
@@ -3409,9 +3409,6 @@ public class FSNamesystem implements Namesystem, FSClusterStats,
|
|
|
HdfsFileStatus stat = null;
|
|
|
FSPermissionChecker pc = getPermissionChecker();
|
|
|
checkOperation(OperationCategory.READ);
|
|
|
- if (!DFSUtil.isValidName(src)) {
|
|
|
- throw new InvalidPathException("Invalid file name: " + src);
|
|
|
- }
|
|
|
byte[][] pathComponents = FSDirectory.getPathComponentsForReservedPath(src);
|
|
|
readLock();
|
|
|
try {
|