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

Robert Joseph Evans commented on YARN-50:
-----------------------------------------

loading of mapred-default.xml and mapred-site.xml is done on demand.  It is not 
enough to have them on the class path.  Someone needs to call 
org.apache.hadoop.mapreduce.util.ConfigUtil.loadResources().  There are a 
number of classes that do this, but most of them are related to running 
map/reduce jobs, like Cluster, Job, JobClient, and JobConf.  We had a very 
similar problem with the RM not loading the HDFS configs and causing HDFS 
tokens to not be renewed.  We fixed it by having the HDFS renewer explicitly 
load the HDFS configs, and I think we want to do the same thing here.  When the 
history server has a renewer it should explicitly call into 
ConfigUtil.loadResources() just like JobConf or Cluster do.
                
> Implement renewal / cancellation of Delegation Tokens
> -----------------------------------------------------
>
>                 Key: YARN-50
>                 URL: https://issues.apache.org/jira/browse/YARN-50
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>         Attachments: YARN-50_wip.txt
>
>
> Currently, delegation tokens issues by the RM and History server cannot be 
> renewed or cancelled. This needs to be implemented.

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