hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kih...@apache.org
Subject hadoop git commit: HDFS-10417. Improve error message from checkBlockLocalPathAccess. Contributed by Tianyin Xu.
Date Tue, 17 May 2016 20:11:02 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 6ebb92c9c -> 70ee477e5


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

(cherry picked from commit 0942954e8ab6bef636c2648d0d5a0227a50f799c)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/70ee477e
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/70ee477e
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/70ee477e

Branch: refs/heads/branch-2
Commit: 70ee477e5f5f220fba98cf96bdbab5c0a6295841
Parents: 6ebb92c
Author: Kihwal Lee <kihwal@apache.org>
Authored: Tue May 17 15:10:47 2016 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Tue May 17 15:10:47 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/70ee477e/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 62ea27d..1cc01cb 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
@@ -1703,7 +1703,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


Mime
View raw message