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
Hadoop >> mail # user >> Calling the JobTracker from Reducer throws InvalidCredentials GSSException


Copy link to this message
-
Calling the JobTracker from Reducer throws InvalidCredentials GSSException
I am trying to get the job tracker counters in my reducer. It works on
single node demo hadoop but fails on a real cluster where kerberos is used
for authentication.

********************************************
RunningJob parentJob                     client.getJob(JobID.forName(
context.getConfiguration().get("mapred.job.id") ));

Counters counters = parentJob.getCounters();
********************************************

The call to getCounter() API throws GSSException (No valid credentials
provided - Failed to find any kerberos tgt).

I launched this job using hadoop jar command.

Any help would be much appreciated.

Thanks
Manish
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