Repository: hbase Updated Branches: refs/heads/branch-1.2 3fb5f3b08 -> 626f423b4
HBASE-17916 Error message not clear when the permission of staging dir is not as expected Signed-off-by: Michael Stack <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/626f423b Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/626f423b Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/626f423b Branch: refs/heads/branch-1.2 Commit: 626f423b49fbe29941bd9363dcb12667140d8e01 Parents: 3fb5f3b Author: Xiang Li <[email protected]> Authored: Fri Apr 14 20:53:57 2017 +0800 Committer: Michael Stack <[email protected]> Committed: Fri Apr 14 08:13:24 2017 -0700 ---------------------------------------------------------------------- .../hadoop/hbase/security/access/SecureBulkLoadEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/626f423b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java index ab27cfc..bd88b6c 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java @@ -146,7 +146,7 @@ public class SecureBulkLoadEndpoint extends SecureBulkLoadService } if(!status.getPermission().equals(PERM_HIDDEN)) { throw new IllegalStateException( - "Directory already exists but permissions aren't set to '-rwx--x--x' "); + "Staging directory of " + baseStagingDir + " already exists but permissions aren't set to '-rwx--x--x' "); } } catch (IOException e) { throw new IllegalStateException("Failed to get FileSystem instance",e);
