Re: Spark SQL with Hive error: "Conf non-local session path expected to be non-null;"

2015-10-06 Thread er.jayants...@gmail.com
I have recently upgraded from spark 1.2 to spark 1.3.

After upgrade I made necessary changes to incorporate DataFrames instead of
JavaSchemaRDD.
Now I am getting this error message
*("org.apache.spark.sql.AnalysisException: Conf non-local session path
expected to be non-null")* while running my spark program written in Java on
my Spark cluster.

I am creating HiveContext as shown below:
JavaSparkContext sparkContext = new JavaSparkContext(sparkConf);
HiveContext sqlContext = new HiveContext(sparkContext.sc());

Any idea.. why i am getting this error.




--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-with-Hive-error-Conf-non-local-session-path-expected-to-be-non-null-tp24922p24942.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Spark SQL with Hive error: "Conf non-local session path expected to be non-null;"

2015-10-04 Thread YaoPau
n Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:379)
at py4j.Gateway.invoke(Gateway.java:259)
at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)
at py4j.commands.CallCommand.execute(CallCommand.java:79)
at py4j.GatewayConnection.run(GatewayConnection.java:207)
at java.lang.Thread.run(Thread.java:745)




--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-with-Hive-error-Conf-non-local-session-path-expected-to-be-non-null-tp24922.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org