Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63D0618DB9 for ; Thu, 27 Aug 2015 19:07:46 +0000 (UTC) Received: (qmail 87650 invoked by uid 500); 27 Aug 2015 19:07:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 87603 invoked by uid 500); 27 Aug 2015 19:07:46 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 87379 invoked by uid 99); 27 Aug 2015 19:07:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2015 19:07:46 +0000 Date: Thu, 27 Aug 2015 19:07:46 +0000 (UTC) From: "Alicia Ying Shu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12465) HBase master start fails due to incorrect file creations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14717334#comment-14717334 ] Alicia Ying Shu commented on HBASE-12465: ----------------------------------------- The issue should have been fixed (see PHOENIX-976). The solution is to always use secure BulkLoad as default and to configure staging directory different from Hbase root temp directory. > HBase master start fails due to incorrect file creations > -------------------------------------------------------- > > Key: HBASE-12465 > URL: https://issues.apache.org/jira/browse/HBASE-12465 > Project: HBase > Issue Type: Bug > Components: master > Affects Versions: 0.96.0 > Environment: Ubuntu > Reporter: Biju Nair > Assignee: Alicia Ying Shu > Labels: hbase, hbase-bulkload > > - Start of HBase master fails due to the following error found in the log. > 2014-11-11 20:25:58,860 WARN org.apache.hadoop.hbase.backup.HFileArchiver: > Failed to archive class org.apache.hadoop.hbase.backup.HFileArchiver$FileablePa > th,file:hdfs://YYYY/hbase/.tmp/data/default/tbl/00820520f5cb7839395e83f40c8d97c2/e/52bf9eee7a27460c8d9e2a26fa43c918_SeqId_282271246_ on try #1 > org.apache.hadoop.security.AccessControlException: Permission denied: > user=hbase,access=WRITE,inode="/hbase/.tmp/data/default/tbl/00820520f5cb7839395e83f40c8d97c2/e/52bf9eee7a27460c8d9e2a26fa43c918_SeqId_282271246_":devuser:supergroup:-rwxr-xr-x > - All the files that hbase master was complaining about are created under an users user-id instead on "hbase" user resulting in incorrect access permission for the master to act on. > - Looks like this was due to bulk load done using LoadIncrementalHFiles program. > - HBASE-12052 is another scenario similar to this one. -- This message was sent by Atlassian JIRA (v6.3.4#6332)