[ https://issues.apache.org/jira/browse/HIVE-5610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808651#comment-13808651 ]
Thejas M Nair commented on HIVE-5610: ------------------------------------- I am having some trouble getting the build on maven branch to work. Please let me know if I am missing some step - ./maven-rollforward.sh mvn clean package -DskipTests -e -X I added -e -X in above commands as suggested by maven error message, to get more error information It fails with - {code} [INFO] Hive .............................................. SUCCESS [0.695s] [INFO] Hive Ant Utilities ................................ SUCCESS [1.678s] [INFO] Hive Shims Common ................................. SUCCESS [0.631s] [INFO] Hive Shims 0.20 ................................... SUCCESS [0.447s] [INFO] Hive Shims Secure Common .......................... SUCCESS [0.624s] [INFO] Hive Shims 0.20S .................................. SUCCESS [0.309s] [INFO] Hive Shims 0.23 ................................... SUCCESS [0.691s] [INFO] Hive Shims ........................................ SUCCESS [0.764s] [INFO] Hive Common ....................................... SUCCESS [1.774s] [INFO] Hive Serde ........................................ SUCCESS [3.191s] [INFO] Hive Metastore .................................... SUCCESS [21.136s] [INFO] Hive TestUtils .................................... SUCCESS [0.109s] [INFO] Hive Query Language ............................... FAILURE [7.506s] [INFO] Hive Service ...................................... SKIPPED [INFO] Hive JDBC ......................................... SKIPPED [INFO] Hive Beeline ...................................... SKIPPED [INFO] Hive CLI .......................................... SKIPPED [INFO] Hive Contrib ...................................... SKIPPED [INFO] Hive HBase Handler ................................ SKIPPED [INFO] Hive HCatalog ..................................... SKIPPED [INFO] Hive HCatalog Core ................................ SKIPPED [INFO] Hive HCatalog Pig Adapter ......................... SKIPPED [INFO] Hive HCatalog Server Extensions ................... SKIPPED [INFO] Hive HCatalog Webhcat Java Client ................. SKIPPED [INFO] Hive HCatalog Webhcat ............................. SKIPPED [INFO] Hive HCatalog HBase Storage Handler ............... SKIPPED [INFO] Hive HWI .......................................... SKIPPED [INFO] Hive ODBC ......................................... SKIPPED [INFO] Hive Packaging .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 40.050s [INFO] Finished at: Tue Oct 29 18:24:12 PDT 2013 [INFO] Final Memory: 36M/123M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hive-exec: Compilation failure [ERROR] An unknown compilation problem occurred [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hive-exec: Compilation failure An unknown compilation problem occurred at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure An unknown compilation problem occurred at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:858) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException {code} > Merge maven branch into trunk > ----------------------------- > > Key: HIVE-5610 > URL: https://issues.apache.org/jira/browse/HIVE-5610 > Project: Hive > Issue Type: Sub-task > Reporter: Brock Noland > Assignee: Brock Noland > Attachments: HIVE-5610.1-for-commit.patch, > HIVE-5610.1-for-reading.patch, HIVE-5610.1-maven.patch, > HIVE-5610.2-for-commit.patch, HIVE-5610.2-for-reading.patch, > HIVE-5610.2-maven.patch, HIVE-5610.4-for-commit.patch, > HIVE-5610.4-for-reading.patch, HIVE-5610.4-maven.patch, > HIVE-5610.5-for-commit.patch, HIVE-5610.5-for-reading.patch, > HIVE-5610.5-maven.patch > > > With HIVE-5566 complete we are ready to merge the maven branch to trunk. The > following tasks will be done post-merge: > * HIVE-5611 - Add assembly (i.e.) tar creation to pom > The merge process will be as follows: > 1) Disable the precommit build > 2) Apply patch > 3) Commit result > {noformat} > svn status > svn add > .. > svn commit -m "HIVE-5610 - Merge maven branch into trunk (patch)" > {noformat} > 4) Modify maven-rollforward.sh to use svn mv not mv: > {noformat} > perl -i -pe 's@^ mv @ svn mv @g' maven-rollforward.sh > {noformat} > 5) Execute maven-rollforward.sh and commit result > {noformat} > bash ./maven-rollforward.sh > svn status > ... > svn commit -m "HIVE-5610 - Merge maven branch into trunk (maven rollforward)" > {noformat} > 6) Modify maven-delete-ant.sh to use svn rm as opposed to rm: > {noformat} > perl -i -pe 's@^ rm -rf @ svn rm @g' maven-delete-ant.sh > {noformat} > 7) Execute maven-delete-ant.sh and commit result > {noformat} > bash ./maven-delete-ant.sh > svn status > ... > svn commit -m "HIVE-5610 - Merge maven branch into trunk (delete ant)" > {noformat} > 8) Update trunk-mr1.properties and trunk-mr2.properties on the ptesting host, > adding the following: > {noformat} > mavenEnvOpts = -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128 > testCasePropertyName = test > buildTool = maven > unitTests.directories = ./ > {noformat} > 9) Enable the precommit build > h3. Notes: > h4. On this jira I will upload three patches: > {noformat} > HIVE-5610.${VERSION}-for-reading.patch > HIVE-5610.${VERSION}-for-commit.patch > HIVE-5610.${VERSION}-maven.patch > {noformat} > * for-reading has no qfiles updates so it's easier to read > * for-commit has the qfile updates and is for commit > * maven is the patch in a "rollfoward" state for testing purposes > h4. To build everything you must: > {noformat} > $ mvn clean install -DskipTests > $ cd itests > $ mvn clean install -DskipTests > {noformat} > because itests (any tests that has cyclical dependencies or requires that the > packages be built) is not part of the root reactor build. -- This message was sent by Atlassian JIRA (v6.1#6144)