Task tracker disallowed by Job tracker - Cloudera CDH 4.5 VM

December 20, 2013

When I loaded Cloudera's VM to explore hadoop, I was unable to start Tasktracker. The following error showed up.

Task tracker disallowed by Job tracker
org.apache.hadoop.filecache.TrackerDistributedCacheManager:Cleanup .. Java.lang.InterruptedExcpetion: sleep interrupted

The problem is gone by restarting JobTracker first and then starting tasktracker. Even if you are still seeing the issue, please follow the below discussion. The solution suggested in this thread is editing the /etc/hosts file.

An easier and cleaner work around is to fix your /etc/hosts file
Using VMWARE fusion and Centos 6.2 x64, I noticed the hosts file lists localhost first.   locahost localhost.localdomain localhost4 localhost4.localdomain4 
Rename it to this   localhost.localdomain localhost4 localhost4.localdomain4 localhost


You Might Also Like


Popular Posts