spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Neutatz <>
Subject Fwd: Issue with building Spark v1.4.1-rc4 with Scala 2.11
Date Wed, 26 Aug 2015 14:07:00 GMT
Hi everybody,

I tried to build Spark v1.4.1-rc4 with Scala 2.11:
../apache-maven-3.3.3/bin/mvn -Dscala-2.11 -DskipTests clean install

Before running this, I deleted:

My changes to the code:
I just changed line 174 of org.apache.spark.executor.Executor$TaskRunner
logInfo(s"test Executor is trying to kill $taskName (TID $taskId)")

Everything builds without an error, but I have an issue.

When I look into the jar of spark-core_2.10, I can see the changed string
in Executor$TaskRunner$$anonfun$kill$1.class. But when I look
into spark-core_2.11 the corresponding string didn't change. It seems like
it downloads the jar from maven.

Do you know what I did wrong?

I also tried to run "mvn -Dscala-2.11 -DskipTests clean install" on the
current master and got the following error:

[ERROR] Failed to execute goal
(enforce-versions) on project spark-parent_2.10: Some Enforcer rules have
failed. Look above for specific messages explaining why the rule failed. ->
[Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]

Thank you for your help.

Best regards,

View raw message