apache / apache/parquet-java

Parquet-hive build fails on debian and OSX yosemite

Aperta
#1,771 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Component: Java Component: Parquet Priority: Major Type: bug
Lingua principale
Java
Stelle
3.1k
Fork
1.6k
Merge medio
3g 12h
PR unite (30g)
33

Descrizione

I am trying to compile the latest (1.6.0rc8 / git master -> PARQUET-214: Fix Avro string regression.) version of parquet-mr. The required versions of protobuf (2.5.0) and thrift (0.7) are installed and working properly (parquet-{protobuf,thrift} compile successfully). If I run mvn test, I get:

[ERROR] /Users/peltekov/Documents/incubator-parquet-mr/parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/read/ParquetRecordReaderWrapper.java:[46,20] cannot find symbol

[ERROR] symbol: class HiveBinding

[ERROR] location: package parquet.hive

[ERROR] /Users/peltekov/Documents/incubator-parquet-mr/parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/read/ParquetRecordReaderWrapper.java:[47,20] cannot find symbol

[ERROR] symbol: class HiveBindingFactory

[ERROR] location: package parquet.hive

[ERROR] /Users/peltekov/Documents/incubator-parquet-mr/parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/read/ParquetRecordReaderWrapper.java:[63,17] cannot find symbol

[ERROR] symbol: class HiveBinding

[ERROR] location: class org.apache.hadoop.hive.ql.io.parquet.read.ParquetRecordReaderWrapper

[ERROR] /Users/peltekov/Documents/incubator-parquet-mr/parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/read/ParquetRecordReaderWrapper.java:[80,13] cannot find symbol

[ERROR] symbol: class HiveBinding

[ERROR] location: class org.apache.hadoop.hive.ql.io.parquet.read.ParquetRecordReaderWrapper

Since I have no experience with hive, I am running out of ideas quite quickly. Obviously the generated files in parquet.hive are not included in the classpath when the tests are runned.

Also if I run
mvn clean install ; mvn test
then the tests are passed successfully.
And btw mvn compile fails in the same way as mvn test.

Is it a bug or I do something wrong?

**Reporter**: [Boris Peltekov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=peltekster) / @peltekster

**Note**: *This issue was originally created as [PARQUET-231](https://issues.apache.org/jira/browse/PARQUET-231). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia da parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/read/ParquetRecordReaderWrapper.java e riproduci il problema con mvn compile o mvn test. Confrontalo con un mvn clean install eseguito in precedenza; il lavoro è completato quando le classi parquet.hive generate sono disponibili e la compilazione e i test hanno esito positivo senza richiedere il workaround di clean install.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
build-system
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.