You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Matthew Paduano (JIRA)" <ji...@apache.org> on 2016/05/10 19:10:12 UTC

[jira] [Updated] (HADOOP-13123) Permit the default hadoop delegation token file format to be configurable

     [ https://issues.apache.org/jira/browse/HADOOP-13123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew Paduano updated HADOOP-13123:
-------------------------------------
    Attachment: HADOOP-13123.01.patch

In case it helps anyone, I attached a patch that permits one to select the default behavior in writeTokenStorageToStream via a config prop.  feel free to commit, ignore or use.

> Permit the default hadoop delegation token file format to be configurable
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-13123
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13123
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Matthew Paduano
>            Assignee: Matthew Paduano
>         Attachments: HADOOP-13123.01.patch
>
>
> If one environment updates to using the new dtutil code and accompanying Credentials code, there is a backward compatibility issue with the default file format being JAVA.  Older clients need to be updated to ask for a file in the legacy format (FORMAT_JAVA).  
> As an aid to users in this trap, we can add a configuration property to set the default file format.  When set to FORMAT_JAVA, the new server code will serve up legacy files without being asked.  The default value for this property will remain FORMAT_PB.  But affected users can add this config option to the services using the newer code.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org