Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Google ProtocolBufferException exception when using ORC file format


Copy link to this message
-
Google ProtocolBufferException exception when using ORC file format
Hi, all,
I am simply using ORC file to store the data and get below exception. Any
idea what's wrong with it?

create table test (f1 int) stored as orc tblproperties
("orc.compress"="NONE");

load data local inpath '/home/athena/test.txt' into table test;

select * from test;

===>
Error: java.io.IOException:
com.google.protobuf.InvalidProtocolBufferException: While parsing a
protocol message, the input ended unexpectedly in the middle of a field.
 This could mean either than the input has been truncated or that an
embedded message misreported its own length. (state=,code=0)

Thanks for help!
Johnny
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB