public static class Nimbus.Client extends org.apache.thrift.TServiceClient implements Nimbus.Iface
Modifier and Type | Class and Description |
---|---|
static class |
Nimbus.Client.Factory |
Constructor and Description |
---|
Client(org.apache.thrift.protocol.TProtocol prot) |
Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
public Client(org.apache.thrift.protocol.TProtocol prot)
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
public void submitTopology(String name, String uploadedJarLocation, String jsonConf, StormTopology topology) throws AlreadyAliveException, InvalidTopologyException, AuthorizationException, org.apache.thrift.TException
submitTopology
in interface Nimbus.Iface
AlreadyAliveException
InvalidTopologyException
AuthorizationException
org.apache.thrift.TException
public void send_submitTopology(String name, String uploadedJarLocation, String jsonConf, StormTopology topology) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_submitTopology() throws AlreadyAliveException, InvalidTopologyException, AuthorizationException, org.apache.thrift.TException
AlreadyAliveException
InvalidTopologyException
AuthorizationException
org.apache.thrift.TException
public void submitTopologyWithOpts(String name, String uploadedJarLocation, String jsonConf, StormTopology topology, SubmitOptions options) throws AlreadyAliveException, InvalidTopologyException, AuthorizationException, org.apache.thrift.TException
submitTopologyWithOpts
in interface Nimbus.Iface
AlreadyAliveException
InvalidTopologyException
AuthorizationException
org.apache.thrift.TException
public void send_submitTopologyWithOpts(String name, String uploadedJarLocation, String jsonConf, StormTopology topology, SubmitOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_submitTopologyWithOpts() throws AlreadyAliveException, InvalidTopologyException, AuthorizationException, org.apache.thrift.TException
AlreadyAliveException
InvalidTopologyException
AuthorizationException
org.apache.thrift.TException
public void killTopology(String name) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
killTopology
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_killTopology(String name) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_killTopology() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void killTopologyWithOpts(String name, KillOptions options) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
killTopologyWithOpts
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_killTopologyWithOpts(String name, KillOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_killTopologyWithOpts() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void activate(String name) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
activate
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_activate(String name) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_activate() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void deactivate(String name) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
deactivate
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_deactivate(String name) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_deactivate() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void rebalance(String name, RebalanceOptions options) throws NotAliveException, InvalidTopologyException, AuthorizationException, org.apache.thrift.TException
rebalance
in interface Nimbus.Iface
NotAliveException
InvalidTopologyException
AuthorizationException
org.apache.thrift.TException
public void send_rebalance(String name, RebalanceOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_rebalance() throws NotAliveException, InvalidTopologyException, AuthorizationException, org.apache.thrift.TException
NotAliveException
InvalidTopologyException
AuthorizationException
org.apache.thrift.TException
public void setLogConfig(String name, LogConfig config) throws org.apache.thrift.TException
setLogConfig
in interface Nimbus.Iface
org.apache.thrift.TException
public void send_setLogConfig(String name, LogConfig config) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_setLogConfig() throws org.apache.thrift.TException
org.apache.thrift.TException
public LogConfig getLogConfig(String name) throws org.apache.thrift.TException
getLogConfig
in interface Nimbus.Iface
org.apache.thrift.TException
public void send_getLogConfig(String name) throws org.apache.thrift.TException
org.apache.thrift.TException
public LogConfig recv_getLogConfig() throws org.apache.thrift.TException
org.apache.thrift.TException
public void debug(String name, String component, boolean enable, double samplingPercentage) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
Nimbus.Iface
Enable/disable logging the tuples generated in topology via an internal EventLogger bolt. The component name is optional and if null or empty, the debug flag will apply to the entire topology.
The ‘samplingPercentage’ will limit loggging to a percentage of generated tuples.
debug
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_debug(String name, String component, boolean enable, double samplingPercentage) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_debug() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void setWorkerProfiler(String id, ProfileRequest profileRequest) throws org.apache.thrift.TException
setWorkerProfiler
in interface Nimbus.Iface
org.apache.thrift.TException
public void send_setWorkerProfiler(String id, ProfileRequest profileRequest) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_setWorkerProfiler() throws org.apache.thrift.TException
org.apache.thrift.TException
public List<ProfileRequest> getComponentPendingProfileActions(String id, String component_id, ProfileAction action) throws org.apache.thrift.TException
getComponentPendingProfileActions
in interface Nimbus.Iface
org.apache.thrift.TException
public void send_getComponentPendingProfileActions(String id, String component_id, ProfileAction action) throws org.apache.thrift.TException
org.apache.thrift.TException
public List<ProfileRequest> recv_getComponentPendingProfileActions() throws org.apache.thrift.TException
org.apache.thrift.TException
public void uploadNewCredentials(String name, Credentials creds) throws NotAliveException, InvalidTopologyException, AuthorizationException, org.apache.thrift.TException
uploadNewCredentials
in interface Nimbus.Iface
NotAliveException
InvalidTopologyException
AuthorizationException
org.apache.thrift.TException
public void send_uploadNewCredentials(String name, Credentials creds) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_uploadNewCredentials() throws NotAliveException, InvalidTopologyException, AuthorizationException, org.apache.thrift.TException
NotAliveException
InvalidTopologyException
AuthorizationException
org.apache.thrift.TException
public String beginCreateBlob(String key, SettableBlobMeta meta) throws AuthorizationException, KeyAlreadyExistsException, org.apache.thrift.TException
beginCreateBlob
in interface Nimbus.Iface
AuthorizationException
KeyAlreadyExistsException
org.apache.thrift.TException
public void send_beginCreateBlob(String key, SettableBlobMeta meta) throws org.apache.thrift.TException
org.apache.thrift.TException
public String recv_beginCreateBlob() throws AuthorizationException, KeyAlreadyExistsException, org.apache.thrift.TException
AuthorizationException
KeyAlreadyExistsException
org.apache.thrift.TException
public String beginUpdateBlob(String key) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
beginUpdateBlob
in interface Nimbus.Iface
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public void send_beginUpdateBlob(String key) throws org.apache.thrift.TException
org.apache.thrift.TException
public String recv_beginUpdateBlob() throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public void uploadBlobChunk(String session, ByteBuffer chunk) throws AuthorizationException, org.apache.thrift.TException
uploadBlobChunk
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_uploadBlobChunk(String session, ByteBuffer chunk) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_uploadBlobChunk() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public void finishBlobUpload(String session) throws AuthorizationException, org.apache.thrift.TException
finishBlobUpload
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_finishBlobUpload(String session) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_finishBlobUpload() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public void cancelBlobUpload(String session) throws AuthorizationException, org.apache.thrift.TException
cancelBlobUpload
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_cancelBlobUpload(String session) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_cancelBlobUpload() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public ReadableBlobMeta getBlobMeta(String key) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
getBlobMeta
in interface Nimbus.Iface
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public void send_getBlobMeta(String key) throws org.apache.thrift.TException
org.apache.thrift.TException
public ReadableBlobMeta recv_getBlobMeta() throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public void setBlobMeta(String key, SettableBlobMeta meta) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
setBlobMeta
in interface Nimbus.Iface
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public void send_setBlobMeta(String key, SettableBlobMeta meta) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_setBlobMeta() throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public BeginDownloadResult beginBlobDownload(String key) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
beginBlobDownload
in interface Nimbus.Iface
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public void send_beginBlobDownload(String key) throws org.apache.thrift.TException
org.apache.thrift.TException
public BeginDownloadResult recv_beginBlobDownload() throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public ByteBuffer downloadBlobChunk(String session) throws AuthorizationException, org.apache.thrift.TException
downloadBlobChunk
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_downloadBlobChunk(String session) throws org.apache.thrift.TException
org.apache.thrift.TException
public ByteBuffer recv_downloadBlobChunk() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public void deleteBlob(String key) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
deleteBlob
in interface Nimbus.Iface
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public void send_deleteBlob(String key) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_deleteBlob() throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public ListBlobsResult listBlobs(String session) throws org.apache.thrift.TException
listBlobs
in interface Nimbus.Iface
org.apache.thrift.TException
public void send_listBlobs(String session) throws org.apache.thrift.TException
org.apache.thrift.TException
public ListBlobsResult recv_listBlobs() throws org.apache.thrift.TException
org.apache.thrift.TException
public int getBlobReplication(String key) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
getBlobReplication
in interface Nimbus.Iface
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public void send_getBlobReplication(String key) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_getBlobReplication() throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public int updateBlobReplication(String key, int replication) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
updateBlobReplication
in interface Nimbus.Iface
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public void send_updateBlobReplication(String key, int replication) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_updateBlobReplication() throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
public void createStateInZookeeper(String key) throws org.apache.thrift.TException
createStateInZookeeper
in interface Nimbus.Iface
org.apache.thrift.TException
public void send_createStateInZookeeper(String key) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_createStateInZookeeper() throws org.apache.thrift.TException
org.apache.thrift.TException
public String beginFileUpload() throws AuthorizationException, org.apache.thrift.TException
beginFileUpload
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_beginFileUpload() throws org.apache.thrift.TException
org.apache.thrift.TException
public String recv_beginFileUpload() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public void uploadChunk(String location, ByteBuffer chunk) throws AuthorizationException, org.apache.thrift.TException
uploadChunk
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_uploadChunk(String location, ByteBuffer chunk) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_uploadChunk() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public void finishFileUpload(String location) throws AuthorizationException, org.apache.thrift.TException
finishFileUpload
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_finishFileUpload(String location) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_finishFileUpload() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public String beginFileDownload(String file) throws AuthorizationException, org.apache.thrift.TException
beginFileDownload
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_beginFileDownload(String file) throws org.apache.thrift.TException
org.apache.thrift.TException
public String recv_beginFileDownload() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public ByteBuffer downloadChunk(String id) throws AuthorizationException, org.apache.thrift.TException
downloadChunk
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_downloadChunk(String id) throws org.apache.thrift.TException
org.apache.thrift.TException
public ByteBuffer recv_downloadChunk() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public String getNimbusConf() throws AuthorizationException, org.apache.thrift.TException
getNimbusConf
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_getNimbusConf() throws org.apache.thrift.TException
org.apache.thrift.TException
public String recv_getNimbusConf() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public ClusterSummary getClusterInfo() throws AuthorizationException, org.apache.thrift.TException
getClusterInfo
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_getClusterInfo() throws org.apache.thrift.TException
org.apache.thrift.TException
public ClusterSummary recv_getClusterInfo() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public NimbusSummary getLeader() throws AuthorizationException, org.apache.thrift.TException
getLeader
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_getLeader() throws org.apache.thrift.TException
org.apache.thrift.TException
public NimbusSummary recv_getLeader() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public boolean isTopologyNameAllowed(String name) throws AuthorizationException, org.apache.thrift.TException
isTopologyNameAllowed
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_isTopologyNameAllowed(String name) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_isTopologyNameAllowed() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
public TopologyInfo getTopologyInfo(String id) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
getTopologyInfo
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_getTopologyInfo(String id) throws org.apache.thrift.TException
org.apache.thrift.TException
public TopologyInfo recv_getTopologyInfo() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public TopologyInfo getTopologyInfoWithOpts(String id, GetInfoOptions options) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
getTopologyInfoWithOpts
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_getTopologyInfoWithOpts(String id, GetInfoOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public TopologyInfo recv_getTopologyInfoWithOpts() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public TopologyPageInfo getTopologyPageInfo(String id, String window, boolean is_include_sys) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
getTopologyPageInfo
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_getTopologyPageInfo(String id, String window, boolean is_include_sys) throws org.apache.thrift.TException
org.apache.thrift.TException
public TopologyPageInfo recv_getTopologyPageInfo() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public SupervisorPageInfo getSupervisorPageInfo(String id, String host, boolean is_include_sys) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
getSupervisorPageInfo
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_getSupervisorPageInfo(String id, String host, boolean is_include_sys) throws org.apache.thrift.TException
org.apache.thrift.TException
public SupervisorPageInfo recv_getSupervisorPageInfo() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public ComponentPageInfo getComponentPageInfo(String topology_id, String component_id, String window, boolean is_include_sys) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
getComponentPageInfo
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_getComponentPageInfo(String topology_id, String component_id, String window, boolean is_include_sys) throws org.apache.thrift.TException
org.apache.thrift.TException
public ComponentPageInfo recv_getComponentPageInfo() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public String getTopologyConf(String id) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
getTopologyConf
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_getTopologyConf(String id) throws org.apache.thrift.TException
org.apache.thrift.TException
public String recv_getTopologyConf() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public StormTopology getTopology(String id) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
Nimbus.Iface
Returns the compiled topology that contains ackers and metrics consumsers. Compare Nimbus.Iface.getUserTopology(String id)
.
getTopology
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_getTopology(String id) throws org.apache.thrift.TException
org.apache.thrift.TException
public StormTopology recv_getTopology() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public StormTopology getUserTopology(String id) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
Nimbus.Iface
Returns the user specified topology as submitted originally. Compare Nimbus.Iface.getTopology(String id)
.
getUserTopology
in interface Nimbus.Iface
NotAliveException
AuthorizationException
org.apache.thrift.TException
public void send_getUserTopology(String id) throws org.apache.thrift.TException
org.apache.thrift.TException
public StormTopology recv_getUserTopology() throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
public TopologyHistoryInfo getTopologyHistory(String user) throws AuthorizationException, org.apache.thrift.TException
getTopologyHistory
in interface Nimbus.Iface
AuthorizationException
org.apache.thrift.TException
public void send_getTopologyHistory(String user) throws org.apache.thrift.TException
org.apache.thrift.TException
public TopologyHistoryInfo recv_getTopologyHistory() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.