@InterfaceAudience.Private public class HttpDoAsClient extends Object
Modifier and Type | Field and Description |
---|---|
(package private) CharsetDecoder |
decoder |
protected static String |
doAsUser |
protected static String |
host |
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() |
private String |
utf8(byte[] buf) |
protected static int port
CharsetDecoder decoder
private static boolean secure
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–2019 The Apache Software Foundation. All rights reserved.