Re: UnknownhostException : home

2015-01-19 Thread Rapelly Kartheek
Yeah... I made that mistake in spark/conf/spark-defaults.conf for setting: spark.eventLog.dir. Now it works Thank you Karthik On Mon, Jan 19, 2015 at 3:29 PM, Sean Owen wrote: > Sorry, to be clear, you need to write "hdfs:///home/...". Note three > slashes; there is an empty host betw

Re: UnknownhostException : home

2015-01-19 Thread Sean Owen
Sorry, to be clear, you need to write "hdfs:///home/...". Note three slashes; there is an empty host between the 2nd and 3rd. This is true of most URI schemes with a host. On Mon, Jan 19, 2015 at 9:56 AM, Rapelly Kartheek wrote: > Yes yes.. hadoop/etc/hadoop/hdfs-site.xml file has the path like:

Re: UnknownhostException : home

2015-01-19 Thread Ashish
+1 to Sean suggestion On Mon, Jan 19, 2015 at 3:21 PM, Sean Owen wrote: > I bet somewhere you have a path like "hdfs://home/..." which would > suggest that 'home' is a hostname, when I imagine you mean it as a > root directory. > > On Mon, Jan 19, 2015 at 9:33 AM, Rapelly Kartheek > wrote: >> Hi

Re: UnknownhostException : home

2015-01-19 Thread Rapelly Kartheek
Yes yes.. hadoop/etc/hadoop/hdfs-site.xml file has the path like: "hdfs://home/..." On Mon, Jan 19, 2015 at 3:21 PM, Sean Owen wrote: > I bet somewhere you have a path like "hdfs://home/..." which would > suggest that 'home' is a hostname, when I imagine you mean it as a > root directory. > > On

Re: UnknownhostException : home

2015-01-19 Thread Sean Owen
I bet somewhere you have a path like "hdfs://home/..." which would suggest that 'home' is a hostname, when I imagine you mean it as a root directory. On Mon, Jan 19, 2015 at 9:33 AM, Rapelly Kartheek wrote: > Hi, > > I get the following exception when I run my application: > > karthik@karthik:~/s

Re: UnknownhostException : home

2015-01-19 Thread Rapelly Kartheek
Actually, I don't have any entry in my /etc/hosts file with hostname: "home". Infact, I didn't use this hostname naywhere. Then why is it that its trying to resolve this? On Mon, Jan 19, 2015 at 3:15 PM, Ashish wrote: > it's not able to resolve home to an IP. > Assuming it's your local machine,

Re: UnknownhostException : home

2015-01-19 Thread Ashish
it's not able to resolve home to an IP. Assuming it's your local machine, add an entry in your /etc/hosts file like and then run the program again (use sudo to edit the file) 127.0.0.1 home On Mon, Jan 19, 2015 at 3:03 PM, Rapelly Kartheek wrote: > Hi, > > I get the following exception when I ru

Fwd: UnknownhostException : home

2015-01-19 Thread Kartheek.R
-- Forwarded message -- From: Rapelly Kartheek Date: Mon, Jan 19, 2015 at 3:03 PM Subject: UnknownhostException : home To: "user@spark.apache.org" Hi, I get the following exception when I run my application: karthik@karthik:~/spark-1.2.0$ ./bin/spark-subm

UnknownhostException : home

2015-01-19 Thread Rapelly Kartheek
Hi, I get the following exception when I run my application: karthik@karthik:~/spark-1.2.0$ ./bin/spark-submit --class org.apache.spark.examples.SimpleApp001 --deploy-mode client --master spark://karthik:7077 $SPARK_HOME/examples/*/scala-*/spark-examples-*.jar >out1.txt log4j:WARN No such propert