hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [25/50] [abbrv] hadoop git commit: Revert "HDFS-10417. Improve error message from checkBlockLocalPathAccess. Contributed by Tianyin Xu."
Date Thu, 19 May 2016 19:47:14 GMT
Revert "HDFS-10417. Improve error message from checkBlockLocalPathAccess. Contributed by Tianyin
Xu."

This reverts commit 0942954e8ab6bef636c2648d0d5a0227a50f799c.


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

Branch: refs/heads/HDFS-7240
Commit: 1356cbe9941c1692c6614201e63187916a3eebb0
Parents: 0942954
Author: Kihwal Lee <kihwal@apache.org>
Authored: Tue May 17 15:20:03 2016 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Tue May 17 15:20:03 2016 -0500

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hdfs/server/datanode/DataNode.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/1356cbe9/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 410472e..288fc3e 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,8 +1717,7 @@ public class DataNode extends ReconfigurableBase
       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");
     }
   }
 


---------------------------------------------------------------------
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