apache / apache/parquet-java

Parquet-hive build fails on debian and OSX yosemite

未关闭
#1,771 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Component: Java Component: Parquet Priority: Major Type: bug
主要语言
Java
星标
3.1k
派生
1.6k
平均合并
3 天 12 小时
30 天内合并 PR
33

描述

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.*

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/read/ParquetRecordReaderWrapper.java 开始,并使用 mvn compile 或 mvn test 重现失败。将其与之前执行的 mvn clean install 进行比较;当生成的 parquet.hive 类可用,并且编译和测试成功而无需 clean install workaround 时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
build-system
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。