Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C90EC1894E for ; Mon, 9 Nov 2015 09:14:11 +0000 (UTC) Received: (qmail 37339 invoked by uid 500); 9 Nov 2015 09:14:11 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 37245 invoked by uid 500); 9 Nov 2015 09:14:11 -0000 Mailing-List: contact dev-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 dev@hbase.apache.org Received: (qmail 37218 invoked by uid 99); 9 Nov 2015 09:14:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2015 09:14:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F2E622C1F57 for ; Mon, 9 Nov 2015 09:14:10 +0000 (UTC) Date: Mon, 9 Nov 2015 09:14:10 +0000 (UTC) From: "Lars Francke (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (HBASE-10937) How to run CsvBulkLoadTool of Phoenix 4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10937?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Francke reopened HBASE-10937: ---------------------------------- > How to run CsvBulkLoadTool of Phoenix 4.0 > ----------------------------------------- > > Key: HBASE-10937 > URL: https://issues.apache.org/jira/browse/HBASE-10937 > Project: HBase > Issue Type: Bug > Components: documentation > Reporter: Jeffrey Zhong > Assignee: Jeffrey Zhong > > There is known issue to run MR job for hbase0.96+ version. Details at sec= tion =E2=80=9CNotice to Mapreduce users of HBase 0.96.1 and above=E2=80=9D = https://hbase.apache.org/book.html > Basically we need to put hbase-protocol*.jar before hadoop loads protobuf= -java jar. I updated our documentation on http://phoenix.incubator.apache.= org/bulk_dataload.html on how to use CsvBulkLoadTool for Phoenix 4.0 as fol= lowing: > {noformat} > HADOOP_CLASSPATH=3D$(hbase mapredcp)::/path/to/hbase/conf hadoop jar phoe= nix-4.0.0-incubating-client.jar org.apache.phoenix.mapreduce.CsvBulkLoadToo= l --table EXAMPLE --input /data/example.csv > {noformat} > OR > {noformat} > HADOOP_CLASSPATH=3D/path/to/hbase-protocol.jar:/path/to/hbase/conf hadoop= jar phoenix-4.0.0-incubating-client.jar org.apache.phoenix.mapreduce.CsvBu= lkLoadTool --table EXAMPLE --input /data/example.csv > {noformat}=20 > Thanks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)