public class LlapTaskUmbilicalExternalClient extends Object implements Closeable
Modifier and Type | Class and Description |
---|---|
static interface |
LlapTaskUmbilicalExternalClient.LlapTaskUmbilicalExternalResponder |
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.security.token.Token<org.apache.tez.common.security.JobTokenIdentifier> |
sessionToken |
protected String |
tokenIdentifier |
Constructor and Description |
---|
LlapTaskUmbilicalExternalClient(org.apache.hadoop.conf.Configuration conf,
String tokenIdentifier,
org.apache.hadoop.security.token.Token<org.apache.tez.common.security.JobTokenIdentifier> sessionToken,
LlapTaskUmbilicalExternalClient.LlapTaskUmbilicalExternalResponder responder,
org.apache.hadoop.security.token.Token<LlapTokenIdentifier> llapToken) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InetSocketAddress |
getAddress() |
void |
submitWork(LlapDaemonProtocolProtos.SubmitWorkRequestProto request,
String llapHost,
int llapPort)
Submit the work for actual execution.
|
String |
toString() |
protected final String tokenIdentifier
protected final org.apache.hadoop.security.token.Token<org.apache.tez.common.security.JobTokenIdentifier> sessionToken
public LlapTaskUmbilicalExternalClient(org.apache.hadoop.conf.Configuration conf, String tokenIdentifier, org.apache.hadoop.security.token.Token<org.apache.tez.common.security.JobTokenIdentifier> sessionToken, LlapTaskUmbilicalExternalClient.LlapTaskUmbilicalExternalResponder responder, org.apache.hadoop.security.token.Token<LlapTokenIdentifier> llapToken)
public InetSocketAddress getAddress()
public void submitWork(LlapDaemonProtocolProtos.SubmitWorkRequestProto request, String llapHost, int llapPort)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2022 The Apache Software Foundation. All rights reserved.