Task tracker disallowed by Job tracker - Cloudera CDH 4.5 VM

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

Solution:
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.

127.0.0.1   locahost localhost.localdomain localhost4 localhost4.localdomain4 
Rename it to this
127.0.0.1   localhost.localdomain localhost4 localhost4.localdomain4 localhost

https://groups.google.com/a/cloudera.org/forum/?fromgroups#!topic/cdh-user/PRy7GynUI6U

Comments

Popular posts from this blog

Updating SourceData/ Data Source of the Pivot Table

Salesforce.com migration tool - Deploying Weblink and migrating files with special characters

Information Architecture - Setup your term store to scale