hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tejas Lagvankar <t...@umbc.edu>
Subject Re: 0.20.1 Cluster Setup Problem
Date Tue, 13 Oct 2009 16:34:07 GMT

I get the same error even if i specify the port number. I have tried  
with port numbers 54310 as well as 9000.


Regards,
Tejas

On Oct 13, 2009, at 12:12 PM, Chandan Tamrakar wrote:

> I think you need to specify the port as well for following port
>
> <property>
> <name>fs.default.name</name>
> <value>hdfs://master_hadoop</value>
> </property>
>
>
> On Tue, Oct 13, 2009 at 7:17 AM, Tejas Lagvankar <tej2@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
>> meettejas@umbc.edu
>> www.umbc.edu/~tej2 <http://www.umbc.edu/%7Etej2>
>>
>>
>>
>>
>>
>
>
> -- 
> Chandan Tamrakar

Tejas Lagvankar
meettejas@umbc.edu
www.umbc.edu/~tej2




Mime
View raw message