I am trying to load Spark-csv package in HUE. I tried with adding it as jar file and while running it throw an exception. (attached screenshot).
dataset = sqlContext.read..format('com.databricks.spark.csv').load("/user/dwuser/v0/*.gz")
It throws an error "com.fasterxml.jackson.databind.JsonMappingException:
Can not deserialize instance of scala.collection.immutable.List out of
VALUE_STRING token\n at [Source: HttpInputOverHTTP@233fc482; line: 1,
column: 177] (through reference chain:
com.cloudera.livy.server.interactive.CreateInteractiveRequest[\"jars\"])"
(error 500).
I am not if I am doing it in the right way or not . Can anyone help me to find the solution for this problem.