You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2010/02/17 03:52:27 UTC

[jira] Created: (MAPREDUCE-1498) Map reduce delegate token should be automatically set by the frontend

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.