You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ae...@apache.org on 2016/05/23 23:20:41 UTC
[03/50] hadoop git commit: HDFS-10417. Improve error message from
checkBlockLocalPathAccess. Contributed by Tianyin Xu.
HDFS-10417. Improve error message from checkBlockLocalPathAccess. Contributed by Tianyin Xu.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/0942954e
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0942954e
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0942954e
Branch: refs/heads/HDFS-1312
Commit: 0942954e8ab6bef636c2648d0d5a0227a50f799c
Parents: fa3bc34
Author: Kihwal Lee <ki...@apache.org>
Authored: Tue May 17 15:06:25 2016 -0500
Committer: Kihwal Lee <ki...@apache.org>
Committed: Tue May 17 15:06:25 2016 -0500
----------------------------------------------------------------------
.../java/org/apache/hadoop/hdfs/server/datanode/DataNode.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/0942954e/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
index 288fc3e..410472e 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
@@ -1717,7 +1717,8 @@ public class DataNode extends ReconfigurableBase
throw new AccessControlException(
"Can't continue with getBlockLocalPathInfo() "
+ "authorization. The user " + currentUser
- + " is not allowed to call getBlockLocalPathInfo");
+ + " is not configured in "
+ + DFSConfigKeys.DFS_BLOCK_LOCAL_PATH_ACCESS_USER_KEY);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org