Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce >> mail # user >> jobtracker not starting - access control exception - folder not owned by me (it claims)


Copy link to this message
-
jobtracker not starting - access control exception - folder not owned by me (it claims)
Hello hadoop users,

I can't start my jobtracker and am getting an
org.apache.hadoop.security.AccessControlException saying that
my hdfs://localhost:9000/home/jbu/hadoop_local_install/hadoop-1.0.4/tmp/mapred/system
is not owned by jbu (me, my user).  However, I check the folder and it is
indeed owned by me.  Details follow.

$ cd /home/jbu/hadoop_local_install/hadoop-1.0.4/tmp/mapred/
$ ls -al
drwxrwxr-x 6 jbu jbu 4096 Apr 15 03:30 local
drwxrwxr-x 2 jbu jbu 4096 Apr 15 03:33 system

Looking inside ./hadoop-jbu-jobtracker-jbu-laptop.log:

org.apache.hadoop.security.AccessControlException: The systemdir
hdfs://localhost:9000/home/jbu/hadoop_local_install/hadoop-1.0.4/tmp/mapred/system
is not owned by jbu
        at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:2379)
        at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:2192)
        at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:2186)
        at
org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:300)
        at
org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:291)
        at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4978)
2013-04-15 03:34:13,697 FATAL org.apache.hadoop.mapred.JobTracker:
org.apache.hadoop.security.AccessControlException: The systemdir
hdfs://localhost:9000/home/jbu/hadoop_local_install/hadoop-1.0.4/tmp/mapred/system
is not owned by jbu
        at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:2379)
        at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:2192)
        at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:2186)
        at
org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:300)
        at
org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:291)
        at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4978)

So it's still having problems thinking that directory is not owned by me.

The log also said:

2013-04-15 03:34:13,695 WARN org.apache.hadoop.mapred.JobTracker: Failed to
operate on mapred.system.dir
(hdfs://localhost:9000/home/jbu/hadoop_local_install/hadoop-1.0.4/tmp/mapred/system)
because of permissions.
2013-04-15 03:34:13,695 WARN org.apache.hadoop.mapred.JobTracker: Manually
delete the mapred.system.dir
(hdfs://localhost:9000/home/jbu/hadoop_local_install/hadoop-1.0.4/tmp/mapred/system)
and then start the JobTracker.

So I deleted the system directory and restarted and the same problem
appeared, that I didn't have ownership of the directory.  Still won't start.

I am using hadoop 1.0.4 on linux mint.

Any ideas?

Thanks,
-Julian
+
Azuryy Yu 2013-04-15, 10:48
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB