[ https://issues.apache.org/jira/browse/SPARK-17421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15477864#comment-15477864 ]
Frederick Reiss commented on SPARK-17421: ----------------------------------------- Committer feedback on first PR was that the necessary build changes to fix this issue are too substantial to be appropriate. Created a second PR that only documents the compile warnings as a known issue and explains why these warnings occur even when the user sets MAVEN_OPTS. > Warnings about "MaxPermSize" parameter when building with Maven and Java 8 > -------------------------------------------------------------------------- > > Key: SPARK-17421 > URL: https://issues.apache.org/jira/browse/SPARK-17421 > Project: Spark > Issue Type: Bug > Components: Build > Reporter: Frederick Reiss > Priority: Minor > > When building Spark with {{build/mvn}} or {{dev/run-tests}}, a Java warning > appears repeatedly on STDERR: > {{OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support > was removed in 8.0}} > This warning is due to {{build/mvn}} adding the {{-XX:MaxPermSize=512M}} > option to {{MAVEN_OPTS}}. When compiling with Java 7, this parameter is > essential. With Java 8, the parameter leads to the warning above. > Because {{build/mvn}} adds {{MaxPermSize}} to {{MAVEN_OPTS}}, even if that > environment variable doesn't contain the option, setting {{MAVEN_OPTS}} to a > string that does not contain {{MaxPermSize}} has no effect. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org