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, 乔凯 <qianya...@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?
>
>

Reply via email to