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 A0AAE200AC5 for ; Sun, 22 May 2016 07:33:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9F5A5160A1E; Sun, 22 May 2016 05:33:14 +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 17D14160A26 for ; Sun, 22 May 2016 07:33:13 +0200 (CEST) Received: (qmail 54574 invoked by uid 500); 22 May 2016 05:33:13 -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 54534 invoked by uid 99); 22 May 2016 05:33:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 May 2016 05:33:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F34E52C1F68 for ; Sun, 22 May 2016 05:33:12 +0000 (UTC) Date: Sun, 22 May 2016 05:33:12 +0000 (UTC) From: "Jerry He (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15790) Force "hbase" ownership on bulkload MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 22 May 2016 05:33:14 -0000 [ https://issues.apache.org/jira/browse/HBASE-15790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295406#comment-15295406 ] Jerry He commented on HBASE-15790: ---------------------------------- Hmm. My impression is that only hdfs superuser can chown, or the root in the old Unix world, with some specific exceptions. But your UT passed ... > Force "hbase" ownership on bulkload > ----------------------------------- > > Key: HBASE-15790 > URL: https://issues.apache.org/jira/browse/HBASE-15790 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 2.0.0, 1.2.1, 1.1.4, 0.98.19 > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Priority: Minor > Attachments: HBASE-15790-v0.patch, HBASE-15790-v1.patch, HBASE-15790-v2.patch > > > When a user different than "hbase" bulkload files, in general we end up with files owned by a user different than hbase. sometimes this causes problems with hbase not be able to move files around archiving/deleting. > A simple solution is probably to change the ownership of the files to "hbase" during bulkload. -- This message was sent by Atlassian JIRA (v6.3.4#6332)