Repository: spark Updated Branches: refs/heads/master 681845fd6 -> fc2e18963
[SPARK-24529][BUILD][TEST-MAVEN][FOLLOW-UP] Set spotbugs-maven-plugin's fork to true ## What changes were proposed in this pull request? Set `spotbugs-maven-plugin`'s fork to `true`, otherwise will throw exception when make distribution: ``` ./dev/make-distribution.sh --name SPARK-24529 --tgz -Phadoop-2.7 -Phive -Phive-thriftserver -Pyarn -Phadoop-provided ``` exception: ```java ... [INFO] Reactor Summary: [INFO] [INFO] Spark Project Parent POM ........................... SUCCESS [ 8.753 s] [INFO] Spark Project Tags ................................. SUCCESS [ 9.334 s] [INFO] Spark Project Sketch ............................... SUCCESS [ 12.029 s] [INFO] Spark Project Local DB ............................. SUCCESS [ 13.641 s] [INFO] Spark Project Networking ........................... FAILURE [10:10 min] [INFO] Spark Project Shuffle Streaming Service ............ SKIPPED [INFO] Spark Project Unsafe ............................... SUCCESS [ 16.415 s] [INFO] Spark Project Launcher ............................. SKIPPED [INFO] Spark Project Core ................................. SKIPPED [INFO] Spark Project ML Local Library ..................... SKIPPED [INFO] Spark Project GraphX ............................... SKIPPED [INFO] Spark Project Streaming ............................ SKIPPED [INFO] Spark Project Catalyst ............................. SKIPPED [INFO] Spark Project SQL .................................. SKIPPED [INFO] Spark Project ML Library ........................... SKIPPED [INFO] Spark Project Tools ................................ SUCCESS [ 8.750 s] [INFO] Spark Project Hive ................................. SKIPPED [INFO] Spark Project REPL ................................. SKIPPED [INFO] Spark Project YARN Shuffle Service ................. SKIPPED [INFO] Spark Project YARN ................................. SKIPPED [INFO] Spark Project Hive Thrift Server ................... SKIPPED [INFO] Spark Project Assembly ............................. SKIPPED [INFO] Spark Integration for Kafka 0.10 ................... SKIPPED [INFO] Kafka 0.10 Source for Structured Streaming ......... SKIPPED [INFO] Spark Project Examples ............................. SKIPPED [INFO] Spark Integration for Kafka 0.10 Assembly .......... SKIPPED [INFO] Spark Avro ......................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10:29 min (Wall Clock) [INFO] Finished at: 2018-07-16T21:39:46+08:00 [INFO] Final Memory: 61M/885M [INFO] ------------------------------------------------------------------------ Timeout: sub-process interrupted [ERROR] Failed to execute goal com.github.spotbugs:spotbugs-maven-plugin:3.1.3:spotbugs (spotbugs) on project spark-network-common_2.11: Execution spotbugs of goal com.github.spotbugs:spotbugs-maven-plugin:3.1.3:spotbugs failed: Timeout: killed the sub-process -> [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/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :spark-network-common_2.11 org.apache.tools.ant.ExitException: Permission ("java.lang.RuntimePermission" "exitVM") was not granted. at org.apache.tools.ant.types.Permissions$MySM.checkExit(Permissions.java:194) at java.lang.Runtime.exit(Runtime.java:107) at java.lang.System.exit(System.java:971) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:358) Exception in thread "main" org.apache.tools.ant.ExitException: Permission ("java.lang.RuntimePermission" "exitVM") was not granted. at org.apache.tools.ant.types.Permissions$MySM.checkExit(Permissions.java:194) at java.lang.Runtime.exit(Runtime.java:107) at java.lang.System.exit(System.java:971) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:364) Timeout: sub-process interrupted ``` ## How was this patch tested? manual tests Author: Yuming Wang <yumw...@ebay.com> Closes #21785 from wangyum/SPARK-24529. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/fc2e1896 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/fc2e1896 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/fc2e1896 Branch: refs/heads/master Commit: fc2e18963efdf4b50258f85c8779122742876910 Parents: 681845f Author: Yuming Wang <yumw...@ebay.com> Authored: Wed Jul 18 10:00:13 2018 +0800 Committer: hyukjinkwon <gurwls...@apache.org> Committed: Wed Jul 18 10:00:13 2018 +0800 ---------------------------------------------------------------------- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/fc2e1896/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 0392923..1892bbe 100644 --- a/pom.xml +++ b/pom.xml @@ -2618,7 +2618,7 @@ <threshold>Low</threshold> <xmlOutput>true</xmlOutput> <visitors>FindPuzzlers</visitors> - <fork>false</fork> + <fork>true</fork> </configuration> <executions> <execution> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org