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: Revert "HDFS-10417. Improve error message from checkBlockLocalPathAccess. Contributed by Tianyin Xu."
Date Tue, 17 May 2016 20:21:56 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 cb5a1edd1 -> 01de843a3


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

This reverts commit cb5a1edd1cfebec389110a192aa0e5359abeff0e.


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

Branch: refs/heads/branch-2.8
Commit: 01de843a31d27f4257bef90c72420e22eba38b47
Parents: cb5a1ed
Author: Kihwal Lee <kihwal@apache.org>
Authored: Tue May 17 15:21:41 2016 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Tue May 17 15:21:41 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/01de843a/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 93536fd..f9a047b 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
@@ -1690,8 +1690,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