You need to add -U and rebase to the latest code. We needed to change the snapshot version of parquet we are using to match some upstream parquet changes On Jul 30, 2014 3:51 AM, "AnilKumar B" <[email protected]> wrote:
> Hi, > > Suddenly mvn install is failing with latest code. What could be the issue? > > INFO] contrib/data/tpch-sample-data ..................... SUCCESS [ 2.361 > s] > [INFO] exec/Parent Pom ................................... SUCCESS [ 0.258 > s] > [INFO] exec/Java Execution Engine ........................ FAILURE [ 23.708 > s] > [INFO] contrib/hbase-storage-plugin ...................... SKIPPED > [INFO] contrib/hive-storage-plugin/Parent Pom ............ SKIPPED > [INFO] contrib/hive-storage-plugin/hive-exec-shaded ...... SKIPPED > [INFO] contrib/hive-storage-plugin/core .................. SKIPPED > [INFO] contrib/mongo-storage-plugin ...................... SKIPPED > [INFO] exec/JDBC Driver using dependencies ............... SKIPPED > [INFO] contrib/sqlline ................................... SKIPPED > [INFO] Packaging and Distribution Assembly ............... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 42.180 s > [INFO] Finished at: 2014-07-30T16:17:58+05:30 > [INFO] Final Memory: 87M/1402M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.0:compile > (default-compile) on project drill-java-exec: Compilation failure: > Compilation failure: > [ERROR] > > /Users/abatchu/Work/git/mongo-drillfork/incubator-drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java:[455,19] > error: an enum switch case label must be the unqualified name of an > enumeration constant > [ERROR] > > /Users/abatchu/Work/git/mongo-drillfork/incubator-drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java:[457,19] > error: an enum switch case label must be the unqualified name of an > enumeration constant > [ERROR] > > /Users/abatchu/Work/git/mongo-drillfork/incubator-drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java:[471,19] > error: an enum switch case label must be the unqualified name of an > enumeration constant > [ERROR] > > /Users/abatchu/Work/git/mongo-drillfork/incubator-drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java:[519,19] > error: an enum switch case label must be the unqualified name of an > enumeration constant > [ERROR] > > /Users/abatchu/Work/git/mongo-drillfork/incubator-drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java:[521,19] > error: an enum switch case label must be the unqualified name of an > enumeration constant > [ERROR] > > /Users/abatchu/Work/git/mongo-drillfork/incubator-drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java:[535,19] > error: an enum switch case label must be the unqualified name of an > enumeration constant > [ERROR] > > /Users/abatchu/Work/git/mongo-drillfork/incubator-drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java:[583,19] > error: an enum switch case label must be the unqualified name of an > enumeration constant > [ERROR] > > /Users/abatchu/Work/git/mongo-drillfork/incubator-drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java:[585,19] > error: an enum switch case label must be the unqualified name of an > enumeration constant > [ERROR] > > /Users/abatchu/Work/git/mongo-drillfork/incubator-drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java:[599,19] > error: an enum switch case label must be the unqualified name of an > enumeration constant > [ERROR] > > /Users/abatchu/Work/git/mongo-drillfork/incubator-drill/exec/java-exec/target/generated-sources/org/apache/drill/exec/store/parquet/ParquetTypeHelper.java:[84,60] > error: cannot find symbol > [ERROR] symbol: variable TIME > [ERROR] location: class OriginalType > [ERROR] > > /Users/abatchu/Work/git/mongo-drillfork/incubator-drill/exec/java-exec/target/generated-sources/org/apache/drill/exec/store/parquet/ParquetTypeHelper.java:[85,65] > error: cannot find symbol > [ERROR] symbol: variable TIMESTAMP > [ERROR] location: class OriginalType > [ERROR] > > /Users/abatchu/Work/git/mongo-drillfork/incubator-drill/exec/java-exec/target/generated-sources/org/apache/drill/exec/store/parquet/ParquetTypeHelper.java:[86,67] > error: cannot find symbol > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > > Thanks & Regards, > B Anil Kumar. >
