Re: Having issues with Hive RuntimeException in runing Zeppelin notebook applicaiton

2016-11-17 Thread Muhammad Rezaul Karim
 Hi, I can run the same code in SPARK_HOME/bin/spark-shell. However, it does not allow me to execute the SQL command. On Thursday, November 17, 2016 6:01 PM, moon soo Lee wrote: Are you able to run the same code in SPARK_HOME/bin/spark-shell? Thanks,moon On Thu,

Re: Having issues with Hive RuntimeException in runing Zeppelin notebook applicaiton

2016-11-17 Thread moon soo Lee
Are you able to run the same code in SPARK_HOME/bin/spark-shell? Thanks, moon On Thu, Nov 17, 2016 at 9:47 AM Muhammad Rezaul Karim wrote: > Hi, > > Thanks a lot. Yes, I have removed the metastore_db directory too. > > > > > On Thursday, November 17, 2016 5:38 PM, moon

Re: Having issues with Hive RuntimeException in runing Zeppelin notebook applicaiton

2016-11-17 Thread Muhammad Rezaul Karim
Hi, Thanks a lot. Yes, I have removed the metastore_db directory too.   On Thursday, November 17, 2016 5:38 PM, moon soo Lee wrote: Although "export PATH=$PATH..."  is not really necessary in zeppelin-env.sh, i think your configuration looks okay. Have you tried

Re: Having issues with Hive RuntimeException in runing Zeppelin notebook applicaiton

2016-11-17 Thread moon soo Lee
Although "export PATH=$PATH..." is not really necessary in zeppelin-env.sh, i think your configuration looks okay. Have you tried remove /home/asif/zeppelin-0.6.2-bin-all/metastore_db ? Thanks, moon On Wed, Nov 16, 2016 at 6:48 PM Muhammad Rezaul Karim wrote: Hi Moon,

Re: Having issues with Hive RuntimeException in runing Zeppelin notebook applicaiton

2016-11-16 Thread Muhammad Rezaul Karim
Hi Moon, I have set those variables as follows (a partial view of the zeppelin-env.sh file). Is this okay? #!/bin/bash export JAVA_HOME=/usr/lib/jvm/java-8-oracle export PATH=$PATH:$JAVA_HOME/bin export SPARK_HOME=/home/asif/spark-2.0.0-bin-hadoop2.7 export PATH=$PATH:$SPARK_HOME/bin   

Re: Having issues with Hive RuntimeException in runing Zeppelin notebook applicaiton

2016-11-16 Thread Md. Rezaul Karim
Hi Moon, No,  I did not set those two environmental variables. I'm still how to do that. I have installed Spark on my machine and have set the SPARK_HOME. However, do I also need to install and configure the Hadoop. But the error is all about the Hive. Am I some how wrong? A sample

Re: Having issues with Hive RuntimeException in runing Zeppelin notebook applicaiton

2016-11-16 Thread Jianfeng (Jeff) Zhang
uot;users@zeppelin.apache.org<mailto:users@zeppelin.apache.org>" <users@zeppelin.apache.org<mailto:users@zeppelin.apache.org>>, Muhammad Rezaul Karim <reza_cse...@yahoo.com<mailto:reza_cse...@yahoo.com>> Subject: Re: Having issues with Hive RuntimeException in runing Zeppelin

Re: Having issues with Hive RuntimeException in runing Zeppelin notebook applicaiton

2016-11-16 Thread moon soo Lee
Hi, It's strange, Do you have SPARK_HOME or HADOOP_CONF_DIR defined in conf/zeppelin-env.sh? You can stop Zeppelin, delete /home/asif/zeppelin-0.6.2-bin-all/metastore_db, start Zeppelin and try again. Thanks, moon On Tue, Nov 15, 2016 at 4:05 PM Muhammad Rezaul Karim

Having issues with Hive RuntimeException in runing Zeppelin notebook applicaiton

2016-11-15 Thread Muhammad Rezaul Karim
Hi,I am a new user of Apache Zeppelin and I am running a simple notebook app on Zeppelin (version 0.6.2-bin-all) using Scala based on Spark. My source code is as follows: val bankText = sc.textFile("/home/rezkar/zeppelin-0.6.2-bin-all/bin/bank-full.csv")case class Bank(age:String,