Revert "HDFS-10417. Improve error message from checkBlockLocalPathAccess. Contributed by Tianyin Xu."
This reverts commit 0942954e8ab6bef636c2648d0d5a0227a50f799c.
This commit is contained in:
parent
0942954e8a
commit
1356cbe994
@ -1717,8 +1717,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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user