Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1260

R interpreter doesn't work with Spark 2.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.1, 0.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Build with

      ./dev/change_scala_version.sh 2.11
      mvn clean package -pl 'zeppelin-web,zeppelin-interpreter,zeppelin-zengine,zeppelin-server,spark,spark-dependencies' -Pspark-2.0 -Phadoop-2.6 -Ppyspark -Psparkr -Dscala-2.11 -DskipTests
      

      Run

      %r 
      localDF <- data.frame(name=c("a", "b", "c"), age=c(19, 23, 18))
      df <- createDataFrame(localDF)
      

      Result:

      Error in getSparkSession(): SparkSession not initialized
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                moon Lee Moon Soo
                Reporter:
                Mina Lee Mina Lee
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: