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

Case classes do not work with Spark New Interpreter

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.8.1
    • Fix Version/s: None
    • Component/s: zeppelin-interpreter
    • Labels:
      None
    • Environment:

      Zeppelin 0.8.1.  Spark 2.2.2 . RHEL 7.

      Description

      If I define a scala case class and attempt to use it in a notebook such as the following code snippet:

      case class Test(id: String, role: String, resst: String)
      val test = Test("1", "Hello", "World")
      val rdd1 = sc.parallelize(List(test))
      
      rdd1.first()
      

      The run will fail with different exceptions - either MethodNotFound or ClassNotFound.  In contrast if zeppelin.spark.useNew is false the code works as expected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mbidewel Mark Bidewell
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: