-- Forwarded message --
From: Rapelly Kartheek kartheek.m...@gmail.com
Date: Mon, Jan 19, 2015 at 3:03 PM
Subject: UnknownhostException : home
To: user@spark.apache.org user@spark.apache.org
Hi,
I get the following exception when I run my application:
karthik@karthik:~/spark
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
kartheek.m...@gmail.com wrote:
Hi,
I get the
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
kartheek.m...@gmail.com wrote:
Yes yes.. hadoop/etc/hadoop/hdfs-site.xml
+1 to Sean suggestion
On Mon, Jan 19, 2015 at 3:21 PM, Sean Owen so...@cloudera.com 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
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 so...@cloudera.com 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
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
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
kartheek.m...@gmail.com wrote:
Hi,
I get the following exception when I run my application:
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 paliwalash...@gmail.com wrote:
it's not able to resolve home to an IP.
Assuming it's
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 so...@cloudera.com wrote:
Sorry, to be clear, you need to write hdfs:///home/ Note three
slashes; there is an