[ https://issues.apache.org/jira/browse/PARQUET-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14391815#comment-14391815 ]
Ryan Blue commented on PARQUET-231: ----------------------------------- So this works: {code} mvn clean install ; mvn test {code} But this doesn't: {code} mvn test mvn compile {code} So it looks like the failure is happening because you are missing dependencies. The test and compile targets both require module dependencies, but won't make artifacts available to other modules. The install target does, which is why that works. Is there a problem after you run {{mvn install}}? How is it broken after that point, are you running {{mvn clean}}? > Parquet-hive build fails on debian and OSX yosemite > --------------------------------------------------- > > Key: PARQUET-231 > URL: https://issues.apache.org/jira/browse/PARQUET-231 > Project: Parquet > Issue Type: Bug > Components: parquet-mr > Reporter: Boris Peltekov > > 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? -- This message was sent by Atlassian JIRA (v6.3.4#6332)