You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2017/04/14 15:12:42 UTC

hbase git commit: HBASE-17916 Error message not clear when the permission of staging dir is not as expected

Repository: hbase
Updated Branches:
  refs/heads/branch-1 1afb86a1c -> cb2f2a7d1


HBASE-17916 Error message not clear when the permission of staging dir
is not as expected

Signed-off-by: Michael Stack <st...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/cb2f2a7d
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cb2f2a7d
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cb2f2a7d

Branch: refs/heads/branch-1
Commit: cb2f2a7d1bd58f5d803f27dddf7ebc7f4ff63800
Parents: 1afb86a
Author: Xiang Li <wa...@gmail.com>
Authored: Fri Apr 14 20:53:57 2017 +0800
Committer: Michael Stack <st...@apache.org>
Committed: Fri Apr 14 08:12:09 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/cb2f2a7d/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 030e138..90bd96b 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
@@ -161,7 +161,7 @@ public class SecureBulkLoadEndpoint extends SecureBulkLoadService
       String scheme = fs.getScheme().toLowerCase();
       if (!fsSet.contains(scheme) && !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);