Invalid HDFS path exception

2015-07-16 Thread wazza
Hi. I am trying to use Apache Spark in a Restful web service in which I am trying to query the data from Hive tables using Apache Spark Sql. This is my java class SparkConf sparkConf = new SparkConf().setAppName(Hive).setMaster(local).setSparkHome(Path); JavaSparkContext ctx =

Maintain Persistent Connection with Hive meta store

2015-07-07 Thread wazza
Hi I am new to Apache Spark and I have tried to query hive tables using Apache Spark Sql. First I have tried it in Spark-shell where I can query 1 lakh records from hive table within a second. Then I have tried in a java code which always take more than 10 seconds and I have noted that each time