Check whether you are using new org.apache.spark.sql.SQLContext(sc) or new 
org.apache.spark.sql.hive.HiveContext(sc)

If you are using SQLContext(sc), you have to define a mapping object for your 
table, HiveContext will automatically convert your file into table

From: Arnault Droz-dit-Busset [mailto:[email protected]]
Sent: Thursday, May 07, 2015 9:18 AM
To: [email protected]
Subject: Fwd: InvocationTargetException error on SQL query


Hello,

I just installed Zeppelin on Yosemite with java 1.7.0_71 and Spark 1.3 
Everything went more or less fine. But my problem is when I want to use the Sql 
Interpreter i have  a java.lang.reflect.InvocationTargetException on every 
queries I write.

I searched on the logs, web but no clue to resolve this problem.

Anyone has a brillant idea ?

Thank you in advance.

Arnault





--
Arnault Droz-dit-Busset
Avenue de Rumine 19b
1005 Lausanne

+41 79 196 29 96<tel:%2B41%2079%20196%2029%2096>

Reply via email to