spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-21531) CLONE - Spark build encounters "File name too long" on some encrypted filesystems
Date Tue, 25 Jul 2017 17:58:00 GMT

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

Sean Owen resolved SPARK-21531.
-------------------------------
       Resolution: Duplicate
    Fix Version/s:     (was: 1.4.0)

This should not be copied

> CLONE - Spark build encounters "File name too long" on some encrypted filesystems
> ---------------------------------------------------------------------------------
>
>                 Key: SPARK-21531
>                 URL: https://issues.apache.org/jira/browse/SPARK-21531
>             Project: Spark
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: antonkulaga
>            Assignee: Theodore Vasiloudis
>
> Originally this issue was discovere din Spark 1.x, then fixed in 1.x but it is still
valid in 2.x
> ORIGINAL description:
> This was reported by Luchesar Cekov on github along with a proposed fix. The fix has
some potential downstream issues (it will modify the classnames) so until we understand better
how many users are affected we aren't going to merge it. However, I'd like to include the
issue and workaround here. If you encounter this issue please comment on the JIRA so we can
assess the frequency.
> The issue produces this error:
> {code}
> [error] == Expanded type of tree ==
> [error] 
> [error] ConstantType(value = Constant(Throwable))
> [error] 
> [error] uncaught exception during compilation: java.io.IOException
> [error] File name too long
> [error] two errors found
> {code}
> The workaround is in maven under the compile options add: 
> {code}
> +              <arg>-Xmax-classfile-name</arg>
> +              <arg>128</arg>
> {code}
> In SBT add:
> {code}
> +    scalacOptions in Compile ++= Seq("-Xmax-classfile-name", "128"),
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message