public class TestFsDelegationToken extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.fs.FileSystem |
fileSystem |
private org.apache.hadoop.hbase.security.token.FsDelegationToken |
fsDelegationToken |
private org.apache.hadoop.security.token.Token |
hdfsToken |
private org.apache.hadoop.hdfs.web.WebHdfsFileSystem |
swebHdfsFileSystem |
private org.apache.hadoop.security.token.Token |
swebhdfsToken |
private org.apache.hadoop.hbase.security.User |
user |
private org.apache.hadoop.hbase.security.UserProvider |
userProvider |
private org.apache.hadoop.hdfs.web.WebHdfsFileSystem |
webHdfsFileSystem |
private org.apache.hadoop.security.token.Token |
webhdfsToken |
Constructor and Description |
---|
TestFsDelegationToken() |
Modifier and Type | Method and Description |
---|---|
void |
acquireDelegationToken_defaults_to_hdfsFileSystem() |
void |
acquireDelegationToken_swebhdfsFileSystem() |
void |
acquireDelegationToken_webhdfsFileSystem() |
void |
acquireDelegationTokenByTokenKind_rejects_null_token_kind() |
void |
acquireDelegationTokenByTokenKind_swebhdfsFileSystem() |
void |
acquireDelegationTokenByTokenKind_webhdfsFileSystem() |
void |
setup() |
private org.apache.hadoop.hbase.security.UserProvider userProvider
private org.apache.hadoop.hbase.security.User user
private org.apache.hadoop.hbase.security.token.FsDelegationToken fsDelegationToken
private org.apache.hadoop.security.token.Token hdfsToken
private org.apache.hadoop.security.token.Token webhdfsToken
private org.apache.hadoop.security.token.Token swebhdfsToken
private org.apache.hadoop.hdfs.web.WebHdfsFileSystem webHdfsFileSystem
private org.apache.hadoop.hdfs.web.WebHdfsFileSystem swebHdfsFileSystem
private org.apache.hadoop.fs.FileSystem fileSystem
public static final HBaseClassTestRule CLASS_RULE
public TestFsDelegationToken()
public void setup() throws IOException, URISyntaxException
IOException
URISyntaxException
public void acquireDelegationToken_defaults_to_hdfsFileSystem() throws IOException
IOException
public void acquireDelegationToken_webhdfsFileSystem() throws IOException
IOException
public void acquireDelegationToken_swebhdfsFileSystem() throws IOException
IOException
public void acquireDelegationTokenByTokenKind_rejects_null_token_kind() throws IOException
IOException
public void acquireDelegationTokenByTokenKind_webhdfsFileSystem() throws IOException
IOException
public void acquireDelegationTokenByTokenKind_swebhdfsFileSystem() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.