[ 
https://issues.apache.org/jira/browse/SPARK-4820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15283330#comment-15283330
 ] 

Joel Bondurant edited comment on SPARK-4820 at 5/14/16 12:13 AM:
-----------------------------------------------------------------

RE: "If you encounter this issue please comment on the JIRA so we can assess 
the frequency."
On ubuntu 15.10, Sparky 1.6.1 builds choke on disk crypto.
> sudo sbt/sbt clean assembly || echo ':('
...
[error] uncaught exception during compilation: java.io.IOException
[error] File name too long
[warn] 45 warnings found
[error] two errors found
[error] (core/compile:compile) Compilation failed
[error] Total time: 253 s, completed May 13, 2016 5:08:04 PM
:(



was (Author: joelbondurant):
RE: "If you encounter this issue please comment on the JIRA so we can assess 
the frequency."
On ubuntu 15.10, Sparky 1.6.1 builds choke on disk crypto.
> sudo sbt/sbt clean assembly && echo ':('
...
[error] uncaught exception during compilation: java.io.IOException
[error] File name too long
[warn] 45 warnings found
[error] two errors found
[error] (core/compile:compile) Compilation failed
[error] Total time: 253 s, completed May 13, 2016 5:08:04 PM
:(


> Spark build encounters "File name too long" on some encrypted filesystems
> -------------------------------------------------------------------------
>
>                 Key: SPARK-4820
>                 URL: https://issues.apache.org/jira/browse/SPARK-4820
>             Project: Spark
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Patrick Wendell
>            Assignee: Theodore Vasiloudis
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> 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.3.4#6332)

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

Reply via email to