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
protected static String host
CharsetDecoder decoder
private static boolean secure
protected static String doAsUser
protected static String principal
private String utf8(byte[] buf)
private byte[] bytes(String s)
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)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.