[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617386#comment-13617386
 ] 

Daryn Sharp commented on MAPREDUCE-5117:
----------------------------------------

I'm not sure it's related to MAPREDUCE-5088.  The error is occurring in this 
block of code:
{code}
    MRClientProtocol histProxy = instantiateHistoryProxy(conf,
        SecurityUtil.getTokenServiceAddr(token));
    try {
      RenewDelegationTokenRequest request = Records
          .newRecord(RenewDelegationTokenRequest.class);
      request.setDelegationToken(dToken);
      return histProxy.renewDelegationToken(request).getNextExpirationTime();
    } finally {
      stopHistoryProxy(histProxy);
    }
{code}

It's blowing up in the finally clause that histProxy is not a proxy.  The 
caught exception has been swallowed, but since histProxy isn't a proxy it's 
almost certainly failing on histProxy.renewDelegationToken.

So the question is how is histProxy not a proxy??
                
> With security enabled HS delegation token renewer fails
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-5117
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5117
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.4-alpha
>            Reporter: Roman Shaposhnik
>            Priority: Blocker
>             Fix For: 2.0.4-alpha
>
>         Attachments: yarn.log
>
>
> It seems that the HSClientProtocolPBClientImpl should implement Closeable as 
> per the attached stack trace. The problem can be observed on a cluster 
> running the latest branch-2.0.4-alpha with MAPREDUCE-5088 applied on top. The 
> easiest way to reproduce it is to run an oozie pig job:
> {noformat}
> $ oozie job -oozie http://`hostname -f`:11000/oozie -run 
> -DjobTracker=`hostname -f`:8032 -DnameNode=hdfs://`hostname -f`:17020 
> -DexamplesRoot=examples -config /tmp/examples/apps/pig/job.properties
> {noformat}
> Please also note that I can successfully submit simple jobs (Pi/Sleep) from a 
> command line using hadoop jar command. Thus it *seems* related to 
> MAPREDUCE-5088 change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to