Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java.io.IOException: Incomplete HDFS URI, no host

Tags:

java

hadoop

I am getting the following error when my hadoop starts.

ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException: Incomplete HDFS URI, no host: hdfs://XX.XX.XX.XX:X000

and in my core-site.xml, following is the configuration

<property>
<name>fs.default.name</name>
  <value>hdfs://master_Server:9000/</value>
</property>

My cluster is in standalone mode.

like image 841
Hafiz Muhammad Shafiq Avatar asked Jan 15 '15 04:01

Hafiz Muhammad Shafiq


1 Answers

As underscore(_) is not allowed. It may be the problem if your other configuration are ok.

Your configuration file should be something like

<property>
<name>fs.default.name</name>
  <value>hdfs://masterServer:9000/</value>
</property>
like image 69
Hafiz Muhammad Shafiq Avatar answered Sep 18 '22 14:09

Hafiz Muhammad Shafiq