public class SecureProxySupport
extends java.lang.Object
Constructor and Description |
---|
SecureProxySupport() |
Modifier and Type | Method and Description |
---|---|
void |
addArgs(java.util.List<java.lang.String> args)
Add hcat args.
|
void |
addEnv(java.util.Map<java.lang.String,java.lang.String> env)
Add Hadoop env variables.
|
void |
close()
Cleanup
|
java.lang.String |
getHcatServiceStr()
The token to pass to hcat.
|
Path |
getTokenPath()
The file where we store the auth token
|
Path |
open(java.lang.String user,
Configuration conf)
Create the delegation token.
|
public Path getTokenPath()
public java.lang.String getHcatServiceStr()
public Path open(java.lang.String user, Configuration conf) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public void close()
public void addEnv(java.util.Map<java.lang.String,java.lang.String> env)
public void addArgs(java.util.List<java.lang.String> args)
Copyright © 2012 The Apache Software Foundation