You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/09/22 09:32:20 UTC

[jira] [Resolved] (SPARK-17421) Document warnings about "MaxPermSize" parameter when building with Maven and Java 8

     [ https://issues.apache.org/jira/browse/SPARK-17421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-17421.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0
                   2.0.1

Issue resolved by pull request 15005
[https://github.com/apache/spark/pull/15005]

> Document 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: Improvement
>          Components: Build
>            Reporter: Frederick Reiss
>            Priority: Trivial
>             Fix For: 2.0.1, 2.1.0
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org