Guillaume HOLLER created ZEPPELIN-4175:
------------------------------------------

             Summary: case class fails on remote spark
                 Key: ZEPPELIN-4175
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4175
             Project: Zeppelin
          Issue Type: Bug
          Components: Interpreters
    Affects Versions: 0.8.0
         Environment: HDP: 3.0.1

  zeppelin: 0.8.0

  Spark: 2.3.1 
            Reporter: Guillaume HOLLER
         Attachments: Capture d’écran de 2019-05-30 17-45-58.png

Copy/paste in zeppelin instructions from 
[https://zeppelin.apache.org/docs/0.5.5-incubating/tutorial/tutorial.html]. 
(full screenshot attached)

In a first cell, instructions to create the RDD and then the temporary table.

 

After execution, I get "console>:37: error: value toDF is not a member of 
org.apache.spark.rdd.RDD[Bank] bank.toDF().registerTempTable("bank") 

second cell is the first sql query in the tutorial.

Execution fails with:

java.lang.ArrayIndexOutOfBoundsException: 5

at $line541920741114.$read$$iw$$iw$$anonfun$3.apply(<console>:33)

at $line541920741114.$read$$iw$$iw$$anonfun$3.apply(<console>:29)

at scala.collection.Iterator$$anon$11.next(Iterator.scala:409)

at scala.collection.Iterator$$anon$11.next(Iterator.scala:409)

...

 

Testing same code in a local zeppelin (i.e.basic tutorial) works like a breeze.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to