madhukara phatak created ZEPPELIN-48:
----------------------------------------

             Summary: Json4s class loading issue in Parquet  file in Zepplin
                 Key: ZEPPELIN-48
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-48
             Project: Zeppelin
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.5.0
            Reporter: madhukara phatak


Whenever I try to read parquet file in zepplin the following error is thrown

java.lang.NoClassDefFoundError: Could not initialize class 
org.json4s.jackson.JsonMethods$ at 
org.apache.spark.sql.catalyst.types.DataType.json(dataTypes.scala:216) at 
org.apache.spark.sql.parquet.ParquetTypesConverter$.convertToString(ParquetTypes.scala:375)
 at 
org.apache.spark.sql.parquet.ParquetTableScan.execute(ParquetTableOperations.scala:98)
 at 
org.apache.spark.sql.execution.Aggregate$$anonfun$execute$1.apply(Aggregate.scala:128)
 at 
org.apache.spark.sql.execution.Aggregate$$anonfun$execute$1.apply(Aggregate.scala:127)
 at org.apache.spark.sql.catalyst.errors.package$.attachTree(package.scala:46) 
at org.apache.spark.sql.execution.Aggregate.execute(Aggregate.scala:126) at 
org.apache.spark.sql.execution.Exchange$$anonfun$execute$1.apply(Exchange.scala:100)
 at 
org.apache.spark.sql.execution.Exchange$$anonfun$execute$1.apply(Exchange.scala:48)
 at org.apache.spark.sql.catalyst.errors.package$.attachTree(package.scala:46) 
at org.apache.spark.sql.execution.Exchange.execute(Exchange.scala:47) at 
org.apache.spark.sql.execution.Aggregate$$anonfun$execute$1.apply(Aggregate.scala:128)
 at 
org.apache.spark.sql.execution.Aggregate$$anonfun$execute$1.apply(Aggregate.scala:127)
 at org.apache.spark.sql.catalyst.errors.package$.attachTree(package.scala:46) 
at org.apache.spark.sql.execution.Aggregate.execute(Aggregate.scala:126) at 
org.apache.spark.sql.execution.SparkPlan.executeCollect(SparkPlan.scala:84) at 
org.apache.spark.sql.SchemaRDD.collect(SchemaRDD.scala:444) at 
org.apache.spark.sql.SchemaRDD.count(SchemaRDD.scala:364) at 
$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC

This same issue was mentioned in [ one of the github issues | 
https://github.com/NFLabs/zeppelin/issues/336)  before.  Is this bug still 
exist or latest code has fixed it?





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to