Shafiq Shafiq - 6 months ago 219
Java Question

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

I am getting following error when my hadoop stards.

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, follwoing is my configuration

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


My cluster in stand alone mode.

HMS HMS
Answer

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>