Hadoop jobtracker is dead and pid file exists [FAILED]
Problem Description:
The Hadoop JobTracker service won’t start even though the ‘start’ option shows ‘OK’.
$ sudo
service hadoop-0.20-mapreduce-jobtracker status
Hadoop jobtracker is dead and pid file exists [FAILED]
Hadoop jobtracker is dead and pid file exists [FAILED]
Solution:
Try to start the service
$ sudo service
hadoop-0.20-mapreduce-jobtracker start
Starting Hadoop jobtracker:
[ OK ]
starting jobtracker, logging to /var/log/hadoop-0.20-mapreduce/hadoop-hadoop-jobtracker-elephant.out
Note that even though it says [OK], the service hasn’t
started. From above check the logfile for errors
$ view /var/log/hadoop-0.20-mapreduce/hadoop-hadoop-jobtracker-elephant.log
.
.
.
at
org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:297)
at
org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4538)
Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException):
Permission denied: user=mapred, access=WRITE,
inode="/var/lib/hadoop-hdfs/cache/mapred/mapred":hdfs:supergroup:drwxr-xr-x
at
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:224)
at
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:204)
.
.
.
|
In my case I had the ownership of the directory wrong.
$ sudo -u hdfs hadoop fs -chown -R mapred
/var/lib/hadoop-hdfs/cache/mapred
|
Once the permission was corrected, the JobTracker service
could be restarted.
$ sudo service hadoop-0.20-mapreduce-jobtracker
start
Starting Hadoop jobtracker: [ OK ]
starting jobtracker, logging to /var/log/hadoop-0.20-mapreduce/hadoop-hadoop-jobtracker-elephant.out
$ sudo service hadoop-0.20-mapreduce-jobtracker
status
Hadoop jobtracker is running [ OK ]
$ sudo jps
2202 TaskTracker
2385 NameNode
3450 Jps
3375 JobTracker
2293 DataNode
2496 SecondaryNameNode
|
7 comments:
Hadoop Developer online training| Hadoop Developer ...
http://www.21cssindia.com/courses/hadoop-online-training-182.html
ఈ పేజీని అనువదించు
hadoop developer online training, hadoop developer training, hadoop developer course contents, hadoop developer, hadoop developer enquiry, hadoop ...
Courses at 21st Century Software Solutions
Talend Online Training -Hyperion Online Training - IBM Unica Online Training -
Siteminder Online Training - SharePoint Online Training - Informatica Online Training
SalesForce Online Training - Many more… | Call Us +917386622889
Hi,
Thanks for providing nice information as the way best institute for online training on hadoop online training
A1 Trainings as one of the best training institute in Hyderabad for online trainings for Hadoop. We have expertise and real time professionals working in Hadoop since 7 years. Our training strategy and materials will help the students for the certification exams also.
Hadoop Training in Hyderabad
Thanks for your valuable information on Hadoop admin Online Training
very valuable information Hadoop Admin Online Training Hyderabad
Thanks for good info it's very helpful blog
Hadoop Admin Online Training Bangalore
Thanks For sharing blog is very nice information and usufull to every one
Hadoop Online Training
Datascience Online TRaining
Post a Comment