You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Gabriel Reid <ga...@gmail.com> on 2014/12/19 08:44:16 UTC
Re: Mapreduce bulk csv error
Hi,
This is an issue when using newer versions of HBase with MapReduce,
explained here:
https://hbase.apache.org/book.html#hbase.mapreduce.classpath
The specific command invocation that you need to get around this issue
is documented in the "Loading via MapReduce" section of this page:
http://phoenix.apache.org/bulk_dataload.html
- Gabriel
On Fri, Dec 19, 2014 at 8:40 AM, 乔凯 <qi...@163.com> wrote:
>
> hi,all:
> i use phoenix 4.2.1 and hbase 0.98.8 when i bulk csv data use mapreduce
> as commond “hadoop jar phoenix-4.2.1-client.jar
> org.apache.phoenix.mapreduce.CsvBulkLoadTool --table example --input
> data1.csv”,the error happen as blow :
> "main" java.sql.SQLException: java.lang.IllegalAccessError: class
> com.google.protobuf.HBaseZeroCopyByteString cannot access its superclass
> com.google.protobuf.LiteralByteString
> at
> org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec(ConnectionQueryServicesImpl.java:938)
> at
> org.apache.phoenix.query.ConnectionQueryServicesImpl.getTable(ConnectionQueryServicesImpl.java:1164)
> what‘s wrong ? can somebody help me?
>
>