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

Yongjun Zhang commented on MAPREDUCE-2764:
------------------------------------------

Hi [~owen.omalley],

All my earlier questions boil down to:

* When do we expect the TRIVIAL_RENEWER to be used?
* Can client (e.g., distcp) somehow control whether to use it (Any suggestion 
on how to let YARN not to renew a token and let the client handle renewal)?

Thanks a lot.



> Fix renewal of dfs delegation tokens
> ------------------------------------
>
>                 Key: MAPREDUCE-2764
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2764
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Daryn Sharp
>            Assignee: Owen O'Malley
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: MAPREDUCE-2764-2.patch, MAPREDUCE-2764-3.patch, 
> MAPREDUCE-2764-4.patch, MAPREDUCE-2764-trunk.patch, 
> MAPREDUCE-2764-trunk.patch, MAPREDUCE-2764-trunk.patch, MAPREDUCE-2764.patch, 
> delegation.patch, token-renew-trunk.patch, token-renew.patch, 
> token-renew.patch
>
>
> The JT may have issues renewing hftp tokens which disrupt long distcp jobs.  
> The problem is the JT's delegation token renewal code is built on brittle 
> assumptions.  The token's service field contains only the "ip:port" pair.  
> The renewal process assumes that the scheme must be hdfs.  If that fails due 
> to a {{VersionMismatchException}}, it tries https based on another assumption 
> that it must be hftp if it's not hdfs.  A number of other exceptions, most 
> commonly {{IOExceptions}}, can be generated which fouls up the renewal since 
> it won't fallback to https.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to