Re: /bin/bash^M: bad interpreter: No such file or directory

2017-10-08 Thread Muhammad Rezaul Karim
3 Muhammad Rezaul Karim ha scritto: Hi All, When I am trying to start the Zeppelin daemon, I am experiencing the following error:  root@ubuntu:~/zeppelin-0.7.2-bin-all/zeppelin-0.7.2-bin-all$ bin/zeppelin-daemon.sh start bash: bin/zeppelin-daemon.sh: /bin/bash^M: bad interpreter: No su

/bin/bash^M: bad interpreter: No such file or directory

2017-10-08 Thread Muhammad Rezaul Karim
Hi All, When I am trying to start the Zeppelin daemon, I am experiencing the following error:  root@ubuntu:~/zeppelin-0.7.2-bin-all/zeppelin-0.7.2-bin-all$ bin/zeppelin-daemon.sh start bash: bin/zeppelin-daemon.sh: /bin/bash^M: bad interpreter: No such file or directory Help would be appreci

How to stop Zeppelin on Windows?

2017-05-15 Thread Muhammad Rezaul Karim
Hi All, I understand that I can start the Zeppelin server on Windows using the following command:bin\zeppelin.cmd How could I stop it afterwords? It#s pity that there's no such instruction: Apache Zeppelin 0.7.1 Documentation: Quick Start | | | | || | | | | | Apac

Re: NoSuchMethodException in SQL

2017-02-16 Thread Muhammad Rezaul Karim
Wed, Feb 15, 2017 at 1:10 AM, Muhammad Rezaul Karim wrote: Hi All, I am receiving the following exception while executing SQL queries:  java.lang. NoSuchMethodException: org.apache.spark.io. LZ4CompressionCodec.( org.apache.spark.SparkConf)     at java.lang.Class. getConstructor0

Re: Zeppelin Books

2017-02-16 Thread Muhammad Rezaul Karim
Hi Jeff, Thanks a lot for the info. But, I was looking for books on Apache Zeppelin, not Apache Kafka :) and probably there's no book published yet for Zeppelin. On Thursday, February 16, 2017 3:18 PM, Jeffrey Groves wrote: #yiv7061667245 #yiv7061667245 -- _filtered #yiv7061667245 {p

NoSuchMethodException in SQL

2017-02-14 Thread Muhammad Rezaul Karim
Hi All, I am receiving the following exception while executing SQL queries:  java.lang.NoSuchMethodException: org.apache.spark.io.LZ4CompressionCodec.(org.apache.spark.SparkConf)     at java.lang.Class.getConstructor0(Class.java:3082)     at java.lang.Class.getConstructor(Class.java:1825)     at

Zeppelin Books

2017-02-14 Thread Muhammad Rezaul Karim
Hi All, Could anyone suggest me some recent books on Apache Zeppelin? Kind regards,Reza 

Re: Is it possible to run Java code on Zeppelin Notebook?

2016-11-20 Thread Muhammad Rezaul Karim
d to convert Java code into Scala syntax? But Scala can call into Java libraries and so on. I don't think we have an interpreter for Java since it does not come with a REPL until Java 9? From: Abhisar Mohapatra Sent: Thursday, November 17, 2016 9:23:24 AM To: users@zeppelin.apache.org; Muha

Re: Zeppelin process died [FAILED]

2016-11-18 Thread Muhammad Rezaul Karim
port is 8080) is already used in your local.  Thanks,Ahyoung On Sat, Nov 19, 2016 at 12:02 AM, Muhammad Rezaul Karim wrote: Hi Ryu, Here is the logs:  WARN [2016-11-18 20:10:08,216] ({main} ZeppelinConfiguration.java[ create]:94) - Failed to load configuration, proceeding with a default  INFO

Re: Zeppelin process died [FAILED]

2016-11-18 Thread Muhammad Rezaul Karim
/*.log files?It would be helpful to investigate what the reason was.  Best regards,Ahyoung On Fri, Nov 18, 2016 at 9:16 PM, Muhammad Rezaul Karim wrote: Dear All, I am trying to start Zeppelin on my Machine using $ bin/zeppelin-daemon.sh start command. Upon issuing this command Zeppelin starts

Zeppelin process died [FAILED]

2016-11-18 Thread Muhammad Rezaul Karim
Dear All, I am trying to start Zeppelin on my Machine using $ bin/zeppelin-daemon.sh start command. Upon issuing this command Zeppelin starts successfully. However, the process dies immediately, without providing any error messages or details. Here is the message that I am receiving: rezkar@a

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

2016-11-17 Thread Muhammad Rezaul Karim
: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 soo Lee wrote: Although "export PATH=$PATH..."  is not really necessary in zeppelin-env.sh, i think your configuration

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

2016-11-17 Thread Muhammad Rezaul Karim
/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, 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

Is it possible to run Java code on Zeppelin Notebook?

2016-11-17 Thread Muhammad Rezaul Karim
Hi All, I am a new user of Zeppelin and got to know that Apache Zeppelin is using Spark as the backend interpreter. Till date, I have run some codes written in Scala on the Zeppelin notebook. However, I am pretty familiar with writing Spark application using Java. Now my question: is it possi

Re: ArrayIndexOutOfBoundsException on Zeppelin notebook example

2016-11-17 Thread Muhammad Rezaul Karim
=> s.split(";")).filter(s => (s.size)>5).filter(s => s(0) != "\"age\"") Hope this helps. 2016-11-17 21:26 GMT+09:00 Dayong : Try to debug your code in IDE. You should look at your array s since it complains about array index. Thanks,Wd On Nov 16, 2016, at 10:

ArrayIndexOutOfBoundsException on Zeppelin notebook example

2016-11-16 Thread Muhammad Rezaul Karim
Hi All, I have the following Scala code (taken from https://zeppelin.apache.org/docs/0.6.2/quickstart/tutorial.html#data-retrieval) that deals with the sample Bank-details data: ---*---

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

2016-11-16 Thread Muhammad Rezaul Karim
2016 10:47 PM, moon soo Lee wrote: 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 Muham

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, job:Strin