GitHub user Leemoonsoo opened a pull request:

    https://github.com/apache/zeppelin/pull/1259

    [ZEPPELIN-1260] R interpreter doesn't work with Spark 2.0

    ### What is this PR for?
    This PR fixes R interpreter doesn't work with Spark 2.0
    
    
    ### What type of PR is it?
    Bug Fix
    
    ### Todos
    * [x] - Create and inject SparkSession into SparkRInterpreter
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-1260
    
    ### How should this be tested?
    Run Zeppelin with Spark 2.0 and run following codes and see if it returns 
`[1] 3`
    ```
    %r 
    localDF <- data.frame(name=c("a", "b", "c"), age=c(19, 23, 18))
    df <- createDataFrame(spark, localDF)
    count(df)
    ```
    
    ### Screenshots (if appropriate)
    
![image](https://cloud.githubusercontent.com/assets/1540981/17324196/fbf3df6c-586a-11e6-896f-68fd86e630e8.png)
    
    ### Questions:
    * Does the licenses files need update? no
    * Is there breaking changes for older versions? no
    * Does this needs documentation? no
    


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

    $ git pull https://github.com/Leemoonsoo/zeppelin ZEPPELIN-1260

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

    https://github.com/apache/zeppelin/pull/1259.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 #1259
    
----
commit 6bd112811d81aa871b077c655fa0980802e3bc71
Author: Lee moon soo <m...@apache.org>
Date:   2016-08-02T09:30:23Z

    Create and inject spark session into sparkr interpreter

----


---
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.
---

Reply via email to