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 C8ED7200B36 for ; Wed, 6 Jul 2016 22:29:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C7748160A73; Wed, 6 Jul 2016 20:29:12 +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 1CC96160A55 for ; Wed, 6 Jul 2016 22:29:11 +0200 (CEST) Received: (qmail 48308 invoked by uid 500); 6 Jul 2016 20:29:11 -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 48297 invoked by uid 99); 6 Jul 2016 20:29:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2016 20:29:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 045DA2C02AA for ; Wed, 6 Jul 2016 20:29:11 +0000 (UTC) Date: Wed, 6 Jul 2016 20:29:11 +0000 (UTC) From: "Jerry He (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13701) Consolidate SecureBulkLoadEndpoint into HBase core as default for bulk load MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 06 Jul 2016 20:29:13 -0000 [ https://issues.apache.org/jira/browse/HBASE-13701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15365025#comment-15365025 ] Jerry He commented on HBASE-13701: ---------------------------------- There is another point I want to raise here. The hbase.bulkload.staging.dir defaults to hbase.fs.tmp.dir which then defaults to {code} public static final String DEFAULT_TEMPORARY_HDFS_DIRECTORY = "/user/" + System.getProperty("user.name") + "/hbase-staging"; {code} This default would have problem on local file system standalone case. I am thinking about bringing hbase.bulkload.staging.dir to be under hbase.rootdir. We are bringing secure bulkload to the core. It makes sense to bring the staging dir under core control as well, instead of an optional property. Any concern? > Consolidate SecureBulkLoadEndpoint into HBase core as default for bulk load > --------------------------------------------------------------------------- > > Key: HBASE-13701 > URL: https://issues.apache.org/jira/browse/HBASE-13701 > Project: HBase > Issue Type: Improvement > Reporter: Jerry He > Assignee: Jerry He > Fix For: 2.0.0 > > Attachments: HBASE-13701-v1.patch, HBASE-13701-v2.patch, HBASE-13701-v3.patch, HBASE-13701-v4.patch > > > HBASE-12052 makes SecureBulkLoadEndpoint work in a non-secure env to solve HDFS permission issues. > We have encountered some of the permission issues and have to use this SecureBulkLoadEndpoint to workaround issues. > We should probably consolidate SecureBulkLoadEndpoint into HBase core as default for bulk load since it is able to handle both secure Kerberos and non-secure cases. > Maintaining two versions of bulk load implementation is also a cause of confusion, and having to explicitly set it is also inconvenient. -- This message was sent by Atlassian JIRA (v6.3.4#6332)