Revert "HDFS-10417. Improve error message from checkBlockLocalPathAccess. Contributed by Tianyin Xu."

This reverts commit 70ee477e5f.
This commit is contained in:
Kihwal Lee 2016-05-17 15:20:59 -05:00
parent 70ee477e5f
commit 1e7eb2d2ac
1 changed files with 1 additions and 2 deletions

View File

@ -1703,8 +1703,7 @@ public class DataNode extends ReconfigurableBase
throw new AccessControlException( throw new AccessControlException(
"Can't continue with getBlockLocalPathInfo() " "Can't continue with getBlockLocalPathInfo() "
+ "authorization. The user " + currentUser + "authorization. The user " + currentUser
+ " is not configured in " + " is not allowed to call getBlockLocalPathInfo");
+ DFSConfigKeys.DFS_BLOCK_LOCAL_PATH_ACCESS_USER_KEY);
} }
} }