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 C1EFD11F02 for ; Tue, 8 Apr 2014 22:33:33 +0000 (UTC) Received: (qmail 80521 invoked by uid 500); 8 Apr 2014 22:33:22 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 80324 invoked by uid 500); 8 Apr 2014 22:33:19 -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 80222 invoked by uid 99); 8 Apr 2014 22:33:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2014 22:33:17 +0000 Date: Tue, 8 Apr 2014 22:33:17 +0000 (UTC) From: "Jeffrey Zhong (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Jeffrey Zhong created HBASE-10937: ------------------------------------- Summary: 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 secti= on =E2=80=9CNotice to Mapreduce users of HBase 0.96.1 and above=E2=80=9D ht= tps://hbase.apache.org/book.html Basically we need to put hbase-protocol*.jar before hadoop loads protobuf-j= ava jar. I updated our documentation on http://phoenix.incubator.apache.or= g/bulk_dataload.html on how to use CsvBulkLoadTool for Phoenix 4.0 as follo= wing: {noformat} HADOOP_CLASSPATH=3D$(hbase mapredcp)::/path/to/hbase/conf hadoop jar phoeni= x-4.0.0-incubating-client.jar org.apache.phoenix.mapreduce.CsvBulkLoadTool = --table EXAMPLE --input /data/example.csv {noformat} OR {noformat} HADOOP_CLASSPATH=3D/path/to/hbase-protocol.jar:/path/to/hbase/conf hadoop j= ar phoenix-4.0.0-incubating-client.jar org.apache.phoenix.mapreduce.CsvBulk= LoadTool --table EXAMPLE --input /data/example.csv {noformat}=20 Thanks. -- This message was sent by Atlassian JIRA (v6.2#6252)