Re: How to run hive scripts pro-grammatically in Spark 1.1.0 ?

2014-09-27 Thread jamborta
Hi, you can create a spark context in your python or scala environment and use that to run your hive queries, pretty much the same way as you'd do it in the shell. thanks, -- View this message in context:

How to run hive scripts pro-grammatically in Spark 1.1.0 ?

2014-09-26 Thread Sherine
I am unable to run hive scripts in Spark 1.1.0 pro-grammatically in hadoop prompt but I could do it manually. Can anyone help me to run hive scripts pro-grammatically in spark1.1.0 cluster on EMR? Manual running steps:- hadoop@ip-10-151-71-224:~/tmpSpark/spark1.1/spark$ ./bin/spark-shell