No, I am running the processes as user "hadoop" I created a separated user for 
running hadoop deamons.

-----Original Message-----
From: Ted Dunning [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 02, 2008 4:55 PM
To: hadoop-user@lucene.apache.org
Subject: Re: Datanode Problem


I don't know what your problem is, but I note that you appear to be running
processes as root.

This is a REALLY bad idea.  It may also be related to your problem.


On 1/2/08 1:33 PM, "Natarajan, Senthil" <[EMAIL PROTECTED]> wrote:

> Hi,
> I am new to Hadoop. I just downloaded release 0.14.4 (hadoop-0.14.4.tar.gz)
> and trying to setup Hadoop on Single Machine (RedHat Linux 9) by following the
> link
> http://www.michael-noll.com/wiki/Running_Hadoop_On_Ubuntu_Linux_%28Single-Node
> _Cluster%29
>
> Looks like datanode is not starting  seems, (I am seeing only namenode,
> jobtracker)
>
> [EMAIL PROTECTED] hadoop]$ /usr/local/hadoop/bin/start-all.sh
> starting namenode, logging to
> /usr/local/hadoop/bin/../logs/hadoop-hadoop-namenode-gis14.out
> /bin/bash: /root/.bashrc: Permission denied
> localhost: ssh: localhost: Name or service not known
> /bin/bash: /root/.bashrc: Permission denied
> localhost: ssh: localhost: Name or service not known
> starting jobtracker, logging to
> /usr/local/hadoop/bin/../logs/hadoop-hadoop-jobtracker-gis14.out
> /bin/bash: /root/.bashrc: Permission denied
> localhost: ssh: localhost: Name or service not known
>
> Then when I try to copy Local file to HDFS, I am getting this error.
>
> [EMAIL PROTECTED] hadoop]$ /usr/local/hadoop/bin/hadoop dfs -ls
> Found 0 items
> [EMAIL PROTECTED] hadoop]$ /usr/local/hadoop/bin/hadoop dfs -copyFromLocal
> /tmp/guten gutenberg
> copyFromLocal: java.io.IOException: Failed to create file
> /user/hadoop/gutenberg/7ldvc10.txt on client xxx.xxx.xxx.xxx because this
> cluster has no datanodes.
> [EMAIL PROTECTED] hadoop]$ /usr/local/hadoop/bin/hadoop dfs -ls
> Found 1 items
> /user/hadoop/gutenberg  <dir>           2008-01-02 15:51
> [EMAIL PROTECTED] hadoop]$ /usr/local/hadoop/bin/hadoop dfs -ls gutenberg
> Found 0 items
>
> I couldn't find any log file corresponding to datanode. Could you please let
> me know what might the problem.
> Thanks,
> Senthil
>

Reply via email to