You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by danoomistmatiste <kk...@yahoo.com> on 2011/02/15 19:52:43 UTC

jobtracker not starting up

The jobtracker is failing to startup with this messaage,

2011-02-15 03:02:31,420 WARN org.apache.hadoop.mapred.JobTracker: Failed to
operate on mapred.system.dir
(hdfs://master:54310/tmp/hadoop-mapred/mapred/system) because of
permissions.


The permissions on the mapred and system directories are set to 777.   Has
anyone encountered this before?
-- 
View this message in context: http://old.nabble.com/jobtracker-not-starting-up-tp30934066p30934066.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.


Re: jobtracker not starting up

Posted by danoomistmatiste <kk...@yahoo.com>.
Thanks,

I did run these commands,

set mapred.system.dir to "/mapred/system" in mapred-site.xml
sudo -u hdfs hadoop fs -mkdir /mapred/system
sudo -u hdfs hadoop fs -chown mapred /mapred/system

where does the path /mapred/system get created?  It did now show up when I
did a find from /

The jobtracker is now running BTW.



ahmednagy wrote:
> 
> Check the owner of the file. Might be a problem with the owner. The owner
> of the file has to be the same as the one who creates the hadoop processes
> otherwise it will not work. I faced that problem recently.
> Regards
> Ahmed Nagy
> 
> 
> danoomistmatiste wrote:
>> 
>> The jobtracker is failing to startup with this messaage,
>> 
>> 2011-02-15 03:02:31,420 WARN org.apache.hadoop.mapred.JobTracker: Failed
>> to operate on mapred.system.dir
>> (hdfs://master:54310/tmp/hadoop-mapred/mapred/system) because of
>> permissions.
>> 
>> 
>> The permissions on the mapred and system directories are set to 777.  
>> Has anyone encountered this before?
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/jobtracker-not-starting-up-tp30934066p30936184.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.


Re: jobtracker not starting up

Posted by ahmednagy <ah...@hotmail.com>.
Check the owner of the file. Might be a problem with the owner. The owner of
the file has to be the same as the one who creates the hadoop processes
otherwise it will not work. I faced that problem recently.
Regards
Ahmed Nagy


danoomistmatiste wrote:
> 
> The jobtracker is failing to startup with this messaage,
> 
> 2011-02-15 03:02:31,420 WARN org.apache.hadoop.mapred.JobTracker: Failed
> to operate on mapred.system.dir
> (hdfs://master:54310/tmp/hadoop-mapred/mapred/system) because of
> permissions.
> 
> 
> The permissions on the mapred and system directories are set to 777.   Has
> anyone encountered this before?
> 

-- 
View this message in context: http://old.nabble.com/jobtracker-not-starting-up-tp30934066p30934934.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.