GitHub user jaceklaskowski opened a pull request:

    https://github.com/apache/spark/pull/8479

    [SPARK-9613] [HOTFIX] Fix usage of JavaConverters removed in Scala 2.11

    Fix for 
[JavaConverters.asJavaListConverter](http://www.scala-lang.org/api/2.10.5/index.html#scala.collection.JavaConverters$)
 being removed in 2.11.7 and hence the build fails with the 2.11 profile 
enabled. Tested with the default 2.10 and 2.11 profiles. BUILD SUCCESS in both 
cases.
    
    Build for 2.10:
    
        ./build/mvn -Pyarn -Phadoop-2.6 -Dhadoop.version=2.7.1 -DskipTests 
clean install
    
    and 2.11:
    
        ./dev/change-scala-version.sh 2.11
        ./build/mvn -Pyarn -Phadoop-2.6 -Dhadoop.version=2.7.1 -Dscala-2.11 
-DskipTests clean install

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jaceklaskowski/spark SPARK-9613-hotfix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/8479.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #8479
    
----
commit b6c17e7daad09096e0bed94e677226b61d349bc1
Author: Jacek Laskowski <ja...@japila.pl>
Date:   2015-08-27T08:38:59Z

    [SPARK-9613] [HOTFIX] Fix usage of JavaConverters removed in Scala 2.11
    
    Fix for JavaConverters.asJavaListConverter being removed in 2.11.7 and 
hence the build fails.
    Tested with the default 2.10 and 2.11 profiles. BUILD SUCCESS in both cases.
    
    Build for 2.10:
    
    ./build/mvn -Pyarn -Phadoop-2.6 -Dhadoop.version=2.7.1 -DskipTests clean 
install
    
    and 2.11:
    
    ./dev/change-scala-version.sh 2.11
    ./build/mvn -Pyarn -Phadoop-2.6 -Dhadoop.version=2.7.1 -Dscala-2.11 
-DskipTests clean install

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to