From 1e7eb2d2ac1a1cf809ca137d9d3da279ec8373a3 Mon Sep 17 00:00:00 2001 From: Kihwal Lee Date: Tue, 17 May 2016 15:20:59 -0500 Subject: [PATCH] Revert "HDFS-10417. Improve error message from checkBlockLocalPathAccess. Contributed by Tianyin Xu." This reverts commit 70ee477e5f5f220fba98cf96bdbab5c0a6295841. --- .../java/org/apache/hadoop/hdfs/server/datanode/DataNode.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 1cc01cba5f3..62ea27d08cb 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,8 +1703,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"); } }