hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-1498) Map reduce delegate token should be automatically set by the frontend
Date Wed, 17 Feb 2010 02:52:27 GMT
Map reduce delegate token should be automatically set by the frontend
---------------------------------------------------------------------

                 Key: MAPREDUCE-1498
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1498
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
          Components: client
    Affects Versions: 0.22.0
            Reporter: Daniel Dai
             Fix For: 0.22.0


Currently, if we need to create Job/JobClient object in the backend, we need to add following
code in the frontend:

Token<DelegationTokenIdentifier> mrDelegationToken = jobClient.getDelegationToken(new
Text());
TokenCache.addDelegationToken("JobTracker", mrDelegationToken);

Once we add this code, application is no longer compilable with old hadoop library. This add
code maintenance burden to the application developer. If this is a common enough use case,
we shall put this code in the core code rather than let application developer consume the
pain.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message