17

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.

1
  • 3
    Maybe it's because your host name has underscore. That makes it an invalid host name as per RFC. Commented Jan 15, 2015 at 11:31

1 Answer 1

14

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>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.