@InterfaceAudience.Private public class HttpDoAsClient extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
HttpDoAsClient.KerberosConfiguration |
Modifier and Type | Field and Description |
---|---|
protected static String |
doAsUser |
protected static String |
host |
protected static String |
keyTab |
protected static int |
port |
protected static String |
principal |
private static boolean |
secure |
Constructor and Description |
---|
HttpDoAsClient() |
Modifier and Type | Method and Description |
---|---|
private byte[] |
bytes(String s) |
private String |
generateTicket() |
(package private) static Subject |
getSubject() |
static void |
main(String[] args) |
private void |
printRow(org.apache.hadoop.hbase.thrift.generated.TRowResult rowResult) |
private void |
printVersions(ByteBuffer row,
List<org.apache.hadoop.hbase.thrift.generated.TCell> versions) |
private org.apache.hadoop.hbase.thrift.generated.Hbase.Client |
refresh(org.apache.hadoop.hbase.thrift.generated.Hbase.Client client,
org.apache.thrift.transport.THttpClient httpClient) |
private void |
run() |
HttpDoAsClient()
private org.apache.hadoop.hbase.thrift.generated.Hbase.Client refresh(org.apache.hadoop.hbase.thrift.generated.Hbase.Client client, org.apache.thrift.transport.THttpClient httpClient)
private String generateTicket() throws GSSException
GSSException
private void printVersions(ByteBuffer row, List<org.apache.hadoop.hbase.thrift.generated.TCell> versions)
private void printRow(org.apache.hadoop.hbase.thrift.generated.TRowResult rowResult)
static Subject getSubject() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.