Hi Tejas,
I just upgraded to 20.1 as well and you config all looks the same as mine
except in the core-site.xml I have:

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

Maybe you need to add the port on yours. I haven't seen that error before,
but it seems to be suggesting it can't resolve the host. I'd say
double-check your names and that they resolve.

Hope that helps,
Kevin

On Tue, Oct 13, 2009 at 2:17 PM, Tejas Lagvankar <t...@umbc.edu> wrote:

> Hi,
>
>
> We are trying to set up a cluster (starting with 2 machines) using the new
> 0.20.1 version.
>
> On the master machine, just after the server starts, the name node dies off
> with the following exception:
>
> 2009-10-13 01:22:24,740 ERROR
> org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException:
> Incomplete HDFS URI, no host: hdfs://master_hadoop
>        at
> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:78)
>        at
> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1373)
>        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
>        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1385)
>        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191)
>        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
>        at org.apache.hadoop.fs.Trash.<init>(Trash.java:62)
>        at
> org.apache.hadoop.hdfs.server.namenode.NameNode.startTrashEmptier(NameNode.java:208)
>        at
> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:204)
>        at
> org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:279)
>        at
> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956)
>        at
> org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:965)
>
> Can anyone help ?  Also can anyone send across example configuration files
> for 0.20.1 if they are different than we are using ?
>
> The detail log file is attached along with.
>
>
>
>
> The configuration files are as follows:
>
> MASTER CONFIG
> ------ conf/masters -------
> master_hadoop
>
> ------ conf/slaves -------
> master_hadoop
> slave_hadoop
>
> ------ core-site.xml -------
> <configuration>
>
> <property>
>  <name>fs.default.name</name>
>  <value>hdfs://master_hadoop</value>
> </property>
>
> <property>
>  <name>hadoop.tmp.dir</name>
>  <value>/opt/hadoop-0.20.1/tmp</value>
> </property>
>
> ------ hdfs-site.xml -------
> <property>
>  <name>dfs.replication</name>
>  <value>2</value>
> </property>
>
>
> ------ mapred-site.xml -------
> <property>
>  <name>mapred.job.tracker</name>
>  <value>tejas_hadoop:9001</value>
> </property>
>
>
>
>
>
> SLAVE CONFIG
> ------ core-site.xml -------
> <property>
>  <name>hadoop.tmp.dir</name>
>  <value>/opt/hadoop-0.20.1/tmp/</value>
> </property>
>
>
> <property>
>  <name>fs.default.name</name>
>  <value>hdfs://master_hadoop</value>
> </property>
>
>
> ------ hdfs-site.xml -------
> <property>
>  <name>dfs.replication</name>
>  <value>2</value>
> </property>
>
> ------ mapred-site.xml -------
> <property>
>  <name>mapred.job.tracker</name>
>  <value>tejas_hadoop:9001</value>
> </property>
>
>
>
> Regards,
>
> Tejas Lagvankar
> meette...@umbc.edu
> www.umbc.edu/~tej2
>
>
>
>
>

Reply via email to