hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13123) Permit the default hadoop delegation token file format to be configurable
Date Tue, 10 May 2016 00:51:12 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277421#comment-15277421

Allen Wittenauer commented on HADOOP-13123:

I don't think adding a config flag is the proper fix.

That stack trace indicates that the application has bundled an older version of the security
classes rather than using the ones on the Hadoop provided classpath. I haven't looked, but
I'm fairly certain they are a) not public APIs and b) there is no guarantee around stability
of the files.  Frankly, any app that does this is begging to be broken by changes and deserves
to die a fiery death.

Additionally, if that is not the problem, then HADOOP-12563 should get pulled from branch-2.
 trunk is expected to make incompatible changes that may break pre-existing applications.
 There should be no reasonable expectation that an incompatible release would use a deprecated
format by default at all.

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

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

View raw message