From 1356cbe9941c1692c6614201e63187916a3eebb0 Mon Sep 17 00:00:00 2001 From: Kihwal Lee Date: Tue, 17 May 2016 15:20:03 -0500 Subject: [PATCH] Revert "HDFS-10417. Improve error message from checkBlockLocalPathAccess. Contributed by Tianyin Xu." This reverts commit 0942954e8ab6bef636c2648d0d5a0227a50f799c. --- .../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 410472e69ce..288fc3eb9f6 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"); } }