HDFS-4951. FsShell commands using secure httpfs throw exceptions due to missing TokenRenewer. (rknater via tucu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1501451 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9b252b39df
commit
3ed7c6e9e5
@ -61,7 +61,6 @@ protected Authenticator getFallBackAuthenticator() {
|
|||||||
public static final String DELEGATION_PARAM = "delegation";
|
public static final String DELEGATION_PARAM = "delegation";
|
||||||
public static final String TOKEN_PARAM = "token";
|
public static final String TOKEN_PARAM = "token";
|
||||||
public static final String RENEWER_PARAM = "renewer";
|
public static final String RENEWER_PARAM = "renewer";
|
||||||
public static final String TOKEN_KIND = "HTTPFS_DELEGATION_TOKEN";
|
|
||||||
public static final String DELEGATION_TOKEN_JSON = "Token";
|
public static final String DELEGATION_TOKEN_JSON = "Token";
|
||||||
public static final String DELEGATION_TOKEN_URL_STRING_JSON = "urlString";
|
public static final String DELEGATION_TOKEN_URL_STRING_JSON = "urlString";
|
||||||
public static final String RENEW_DELEGATION_TOKEN_JSON = "long";
|
public static final String RENEW_DELEGATION_TOKEN_JSON = "long";
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
package org.apache.hadoop.lib.service;
|
package org.apache.hadoop.lib.service;
|
||||||
|
|
||||||
import org.apache.hadoop.classification.InterfaceAudience;
|
import org.apache.hadoop.classification.InterfaceAudience;
|
||||||
import org.apache.hadoop.fs.http.client.HttpFSKerberosAuthenticator;
|
import org.apache.hadoop.hdfs.web.WebHdfsFileSystem;
|
||||||
import org.apache.hadoop.io.Text;
|
import org.apache.hadoop.io.Text;
|
||||||
import org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier;
|
import org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier;
|
||||||
|
|
||||||
@ -29,8 +29,7 @@
|
|||||||
public class DelegationTokenIdentifier
|
public class DelegationTokenIdentifier
|
||||||
extends AbstractDelegationTokenIdentifier {
|
extends AbstractDelegationTokenIdentifier {
|
||||||
|
|
||||||
public static final Text KIND_NAME =
|
public static final Text KIND_NAME = WebHdfsFileSystem.TOKEN_KIND;
|
||||||
new Text(HttpFSKerberosAuthenticator.TOKEN_KIND);
|
|
||||||
|
|
||||||
public DelegationTokenIdentifier() {
|
public DelegationTokenIdentifier() {
|
||||||
}
|
}
|
||||||
|
@ -1171,6 +1171,9 @@ Release 2.1.0-beta - 2013-07-02
|
|||||||
HDFS-4841. FsShell commands using secure webhfds fail ClientFinalizer
|
HDFS-4841. FsShell commands using secure webhfds fail ClientFinalizer
|
||||||
shutdown hook. (rkanter via tucu)
|
shutdown hook. (rkanter via tucu)
|
||||||
|
|
||||||
|
HDFS-4951. FsShell commands using secure httpfs throw exceptions due
|
||||||
|
to missing TokenRenewer. (rknater via tucu)
|
||||||
|
|
||||||
Release 2.0.5-alpha - 06/06/2013
|
Release 2.0.5-alpha - 06/06/2013
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
Loading…
Reference in New Issue
Block a user