From issues-return-31821-apmail-spark-issues-archive=spark.apache.org@spark.apache.org Fri Mar 13 14:21:38 2015 Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D4FE91797E for ; Fri, 13 Mar 2015 14:21:38 +0000 (UTC) Received: (qmail 90761 invoked by uid 500); 13 Mar 2015 14:21:38 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 90592 invoked by uid 500); 13 Mar 2015 14:21:38 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 90447 invoked by uid 99); 13 Mar 2015 14:21:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2015 14:21:38 +0000 Date: Fri, 13 Mar 2015 14:21:38 +0000 (UTC) From: =?utf-8?Q?=C3=93scar_Puertas_=28JIRA=29?= To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-4820) Spark build encounters "File name too long" on some encrypted filesystems MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SPARK-4820?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1436= 0407#comment-14360407 ]=20 =C3=93scar Puertas commented on SPARK-4820: -------------------------------------- Still failing for the 1.3 branch. > 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: Bug > Components: Build > Reporter: Patrick Wendell > > 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. I= f you encounter this issue please comment on the JIRA so we can assess the = frequency. > The issue produces this error: > {code} > [error] =3D=3D Expanded type of tree =3D=3D > [error]=20 > [error] ConstantType(value =3D Constant(Throwable)) > [error]=20 > [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:=20 > {code} > + -Xmax-classfile-name > + 128 > {code} > In SBT add: > {code} > + scalacOptions in Compile ++=3D Seq("-Xmax-classfile-name", "128"), > {code} -- 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