Browse Source

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

This reverts commit cb5a1edd1cfebec389110a192aa0e5359abeff0e.
Kihwal Lee 9 years ago
parent
commit
01de843a31

+ 1 - 2
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(
       throw new AccessControlException(
           "Can't continue with getBlockLocalPathInfo() "
           "Can't continue with getBlockLocalPathInfo() "
               + "authorization. The user " + currentUser
               + "authorization. The user " + currentUser
-              + " is not configured in "
-              + DFSConfigKeys.DFS_BLOCK_LOCAL_PATH_ACCESS_USER_KEY);
+              + " is not allowed to call getBlockLocalPathInfo");
     }
     }
   }
   }