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

This reverts commit 0942954e8a.
This commit is contained in:
Kihwal Lee 2016-05-17 15:20:03 -05:00
parent 0942954e8a
commit 1356cbe994

View File

@ -1717,8 +1717,7 @@ private void checkBlockLocalPathAccess() throws IOException {
throw new AccessControlException(
"Can't continue with getBlockLocalPathInfo() "
+ "authorization. The user " + currentUser
+ " is not configured in "
+ DFSConfigKeys.DFS_BLOCK_LOCAL_PATH_ACCESS_USER_KEY);
+ " is not allowed to call getBlockLocalPathInfo");
}
}