You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by jhsbeat <jh...@gmail.com> on 2015/06/09 06:38:43 UTC

Build fails on "exec/Java Execution Engine" step.

Hi all.

I'm trying to build Apache Drill in brach of 1.0.0 on my macbook but it always returns me the following failure. 
I just followed INSTALL.md instruction. 
Is there anything more than that?

Thanks in advance.

Environment: 
  Mac OSX 10.9.4, java 1.7.0_79, Apache Maven 3.3.3

Logs: 

Tests in error:
  TestConstantFolding.testConstantFolding_allTypes:151->BaseTestQuery.testRunAndReturn:277 » Rpc
  TestParquetWriter.tableSchemaWhenSelectFieldsInDef_SelectFieldsInView:470 »  D...

Tests run: 1194, Failures: 2, Errors: 2, Skipped: 109

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Drill Root POM .............................. SUCCESS [  4.117 s]
[INFO] Drill Protocol ..................................... SUCCESS [  6.870 s]
[INFO] Common (Logical Plan, Base expressions) ............ SUCCESS [  8.944 s]
[INFO] contrib/Parent Pom ................................. SUCCESS [  0.411 s]
[INFO] contrib/data/Parent Pom ............................ SUCCESS [  0.344 s]
[INFO] contrib/data/tpch-sample-data ...................... SUCCESS [  2.543 s]
[INFO] contrib/data/window-test-data ...................... SUCCESS [  0.603 s]
[INFO] exec/Parent Pom .................................... SUCCESS [  0.658 s]
[INFO] exec/Java Execution Engine ......................... FAILURE [17:37 min]
[INFO] exec/JDBC Driver using dependencies ................ SKIPPED
[INFO] JDBC JAR with all dependencies ..................... SKIPPED
[INFO] contrib/mongo-storage-plugin ....................... SKIPPED
[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] Packaging and Distribution Assembly ................ SKIPPED
[INFO] contrib/sqlline .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18:02 min
[INFO] Finished at: 2015-06-09T13:17:19+09:00
[INFO] Final Memory: 103M/1262M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project drill-java-exec: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/hosang/01.work/git/drill/exec/java-exec/target/surefire-reports for the individual test results.
[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.
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :drill-java-exec


Re: Build fails on "exec/Java Execution Engine" step.

Posted by Hanifi Gunes <hg...@maprtech.com>.
-DskipTests simply ignores test run but it does not explain why we got
failures. Would you share the logs for failing tests also?

-Hanifi

On Tue, Jun 9, 2015 at 11:23 AM, Chris Westin <ch...@gmail.com>
wrote:

> That may get you through the build, but it does mean you're having a couple
> of unit test failures, so there might be a setup issue on your machine.
>
> On Mon, Jun 8, 2015 at 10:30 PM, jhsbeat <jh...@gmail.com> wrote:
>
> >
> > Yes. Thanks.
> >
> > It’s working fine now with `-DskipTests` option.
> >
> > Thanks. :)
> >
> > 2015. 6. 9., 오후 2:19, Rajkumar Singh <rs...@maprtech.com> 작성:
> >
> > > ry maven argument -DskipTests=true ?
> >
> >
>

Re: Build fails on "exec/Java Execution Engine" step.

Posted by Chris Westin <ch...@gmail.com>.
That may get you through the build, but it does mean you're having a couple
of unit test failures, so there might be a setup issue on your machine.

On Mon, Jun 8, 2015 at 10:30 PM, jhsbeat <jh...@gmail.com> wrote:

>
> Yes. Thanks.
>
> It’s working fine now with `-DskipTests` option.
>
> Thanks. :)
>
> 2015. 6. 9., 오후 2:19, Rajkumar Singh <rs...@maprtech.com> 작성:
>
> > ry maven argument -DskipTests=true ?
>
>

Re: Build fails on "exec/Java Execution Engine" step.

Posted by jhsbeat <jh...@gmail.com>.
Yes. Thanks. 

It’s working fine now with `-DskipTests` option. 

Thanks. :)

2015. 6. 9., 오후 2:19, Rajkumar Singh <rs...@maprtech.com> 작성:

> ry maven argument -DskipTests=true ?


Re: Build fails on "exec/Java Execution Engine" step.

Posted by Rajkumar Singh <rs...@maprtech.com>.
Have u try maven argument -DskipTests=true ?

Rajkumar Singh
MapR Technologies


> On Jun 9, 2015, at 10:08 AM, jhsbeat <jh...@gmail.com> wrote:
> 
> Hi all.
> 
> I'm trying to build Apache Drill in brach of 1.0.0 on my macbook but it always returns me the following failure. 
> I just followed INSTALL.md instruction. 
> Is there anything more than that?
> 
> Thanks in advance.
> 
> Environment: 
>  Mac OSX 10.9.4, java 1.7.0_79, Apache Maven 3.3.3
> 
> Logs: 
> 
> Tests in error:
>  TestConstantFolding.testConstantFolding_allTypes:151->BaseTestQuery.testRunAndReturn:277 » Rpc
>  TestParquetWriter.tableSchemaWhenSelectFieldsInDef_SelectFieldsInView:470 »  D...
> 
> Tests run: 1194, Failures: 2, Errors: 2, Skipped: 109
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Drill Root POM .............................. SUCCESS [  4.117 s]
> [INFO] Drill Protocol ..................................... SUCCESS [  6.870 s]
> [INFO] Common (Logical Plan, Base expressions) ............ SUCCESS [  8.944 s]
> [INFO] contrib/Parent Pom ................................. SUCCESS [  0.411 s]
> [INFO] contrib/data/Parent Pom ............................ SUCCESS [  0.344 s]
> [INFO] contrib/data/tpch-sample-data ...................... SUCCESS [  2.543 s]
> [INFO] contrib/data/window-test-data ...................... SUCCESS [  0.603 s]
> [INFO] exec/Parent Pom .................................... SUCCESS [  0.658 s]
> [INFO] exec/Java Execution Engine ......................... FAILURE [17:37 min]
> [INFO] exec/JDBC Driver using dependencies ................ SKIPPED
> [INFO] JDBC JAR with all dependencies ..................... SKIPPED
> [INFO] contrib/mongo-storage-plugin ....................... SKIPPED
> [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] Packaging and Distribution Assembly ................ SKIPPED
> [INFO] contrib/sqlline .................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18:02 min
> [INFO] Finished at: 2015-06-09T13:17:19+09:00
> [INFO] Final Memory: 103M/1262M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project drill-java-exec: There are test failures.
> [ERROR]
> [ERROR] Please refer to /Users/hosang/01.work/git/drill/exec/java-exec/target/surefire-reports for the individual test results.
> [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.
> [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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :drill-java-exec
>