Repository: hbase Updated Branches: refs/heads/branch-1.3 930b9a555 -> e46cbedfa
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/e46cbedf Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e46cbedf Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e46cbedf Branch: refs/heads/branch-1.3 Commit: e46cbedfa2b86b1649e7229a6aa1d065a4d36cda Parents: 930b9a5 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:01 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/e46cbedf/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 6c92a66..7401317 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);
