FAQ
I now can't reproduce what I did to make parquet files readable by HIVE.
I'm hitting a ClassNotFoundError?

Here's my HIVE script to try and read a table I created in IMPALA.

ADD JAR parquet-hive-1.0.2-SNAPSHOT.jar;
ADD JAR impala-frontend-0.1-SNAPSHOT.jar;

ALTER TABLE currency SET SERDE 'parquet.hive.serde.ParquetHiveSerDe';

ALTER TABLE currency
SET FILEFORMAT
         InputFormat "parquet.hive.DeprecatedParquetInputFormat"
         OutputFormat "parquet.hive.DeprecatedParquetOutputFormat";

The results is

Logging initialized using configuration in
jar:file:/opt/cloudera/parcels/CDH-4.3.1-1.cdh4.3.1.p0.110/lib/hive/lib/hive-common-0.10.0-cdh4.3.1.jar!/hive-log4j.properties
Hive history
file=/tmp/root/hive_job_log_44cf56eb-3e50-4ea8-b907-a00816e04200_321325850.txt
OK
Time taken: 1.356 seconds
Added /export/home/astevens/parquet-hive-1.0.2-SNAPSHOT.jar to class path
Added resource: /export/home/astevens/parquet-hive-1.0.2-SNAPSHOT.jar
Added /export/home/astevens/impala-frontend-0.1-SNAPSHOT.jar to class path
Added resource: /export/home/astevens/impala-frontend-0.1-SNAPSHOT.jar
OK
Time taken: 0.285 seconds
FAILED: SemanticException java.lang.ClassNotFoundException:
parquet.hive.DeprecatedParquetInputFormat


To unsubscribe from this group and stop receiving emails from it, send an email to impala-user+unsubscribe@cloudera.org.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupimpala-user @
categorieshadoop
postedAug 30, '13 at 3:31p
activeAug 30, '13 at 3:31p
posts1
users1
websitecloudera.com
irc#hadoop

1 user in discussion

Andrew Stevenson: 1 post

People

Translate

site design / logo © 2021 Grokbase