Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0D480200C56 for ; Fri, 14 Apr 2017 17:13:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0BF6F160B8C; Fri, 14 Apr 2017 15:13:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 53184160B80 for ; Fri, 14 Apr 2017 17:13:32 +0200 (CEST) Received: (qmail 62246 invoked by uid 500); 14 Apr 2017 15:13:31 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 62237 invoked by uid 99); 14 Apr 2017 15:13:31 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Apr 2017 15:13:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5E6E8DFF0F; Fri, 14 Apr 2017 15:13:31 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: stack@apache.org To: commits@hbase.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: hbase git commit: HBASE-17916 Error message not clear when the permission of staging dir is not as expected Date: Fri, 14 Apr 2017 15:13:31 +0000 (UTC) archived-at: Fri, 14 Apr 2017 15:13:33 -0000 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 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 Authored: Fri Apr 14 20:53:57 2017 +0800 Committer: Michael Stack 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);