public static interface Nimbus.Iface
void submitTopology(String name, String uploadedJarLocation, String jsonConf, StormTopology topology) throws AlreadyAliveException, InvalidTopologyException, AuthorizationException, org.apache.storm.thrift.TException
AlreadyAliveException
InvalidTopologyException
AuthorizationException
org.apache.storm.thrift.TException
void submitTopologyWithOpts(String name, String uploadedJarLocation, String jsonConf, StormTopology topology, SubmitOptions options) throws AlreadyAliveException, InvalidTopologyException, AuthorizationException, org.apache.storm.thrift.TException
AlreadyAliveException
InvalidTopologyException
AuthorizationException
org.apache.storm.thrift.TException
void killTopology(String name) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
void killTopologyWithOpts(String name, KillOptions options) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
void activate(String name) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
void deactivate(String name) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
void rebalance(String name, RebalanceOptions options) throws NotAliveException, InvalidTopologyException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
InvalidTopologyException
AuthorizationException
org.apache.storm.thrift.TException
void setLogConfig(String name, LogConfig config) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
LogConfig getLogConfig(String name) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
void debug(String name, String component, boolean enable, double samplingPercentage) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
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.
name
- component
- enable
- samplingPercentage
- NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
void setWorkerProfiler(String id, ProfileRequest profileRequest) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
List<ProfileRequest> getComponentPendingProfileActions(String id, String component_id, ProfileAction action) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
void uploadNewCredentials(String name, Credentials creds) throws NotAliveException, InvalidTopologyException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
InvalidTopologyException
AuthorizationException
org.apache.storm.thrift.TException
String beginCreateBlob(String key, SettableBlobMeta meta) throws AuthorizationException, KeyAlreadyExistsException, org.apache.storm.thrift.TException
AuthorizationException
KeyAlreadyExistsException
org.apache.storm.thrift.TException
String beginUpdateBlob(String key) throws AuthorizationException, KeyNotFoundException, org.apache.storm.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.storm.thrift.TException
void uploadBlobChunk(String session, ByteBuffer chunk) throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
void finishBlobUpload(String session) throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
void cancelBlobUpload(String session) throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
ReadableBlobMeta getBlobMeta(String key) throws AuthorizationException, KeyNotFoundException, org.apache.storm.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.storm.thrift.TException
void setBlobMeta(String key, SettableBlobMeta meta) throws AuthorizationException, KeyNotFoundException, org.apache.storm.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.storm.thrift.TException
BeginDownloadResult beginBlobDownload(String key) throws AuthorizationException, KeyNotFoundException, org.apache.storm.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.storm.thrift.TException
ByteBuffer downloadBlobChunk(String session) throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
void deleteBlob(String key) throws AuthorizationException, KeyNotFoundException, IllegalStateException, org.apache.storm.thrift.TException
AuthorizationException
KeyNotFoundException
IllegalStateException
org.apache.storm.thrift.TException
ListBlobsResult listBlobs(String session) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
int getBlobReplication(String key) throws AuthorizationException, KeyNotFoundException, org.apache.storm.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.storm.thrift.TException
int updateBlobReplication(String key, int replication) throws AuthorizationException, KeyNotFoundException, org.apache.storm.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.storm.thrift.TException
void createStateInZookeeper(String key) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
String beginFileUpload() throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
void uploadChunk(String location, ByteBuffer chunk) throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
void finishFileUpload(String location) throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
ByteBuffer downloadChunk(String id) throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
String getNimbusConf() throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
ClusterSummary getClusterInfo() throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
NimbusSummary getLeader() throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
boolean isTopologyNameAllowed(String name) throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
TopologyInfo getTopologyInfo(String id) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
TopologyInfo getTopologyInfoWithOpts(String id, GetInfoOptions options) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
TopologyPageInfo getTopologyPageInfo(String id, String window, boolean is_include_sys) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
SupervisorPageInfo getSupervisorPageInfo(String id, String host, boolean is_include_sys) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
ComponentPageInfo getComponentPageInfo(String topology_id, String component_id, String window, boolean is_include_sys) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
String getTopologyConf(String id) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
StormTopology getTopology(String id) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
Returns the compiled topology that contains ackers and metrics consumsers. Compare getUserTopology(String id)
.
id
- NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
StormTopology getUserTopology(String id) throws NotAliveException, AuthorizationException, org.apache.storm.thrift.TException
Returns the user specified topology as submitted originally. Compare getTopology(String id)
.
id
- NotAliveException
AuthorizationException
org.apache.storm.thrift.TException
TopologyHistoryInfo getTopologyHistory(String user) throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
List<OwnerResourceSummary> getOwnerResourceSummaries(String owner) throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
SupervisorAssignments getSupervisorAssignments(String node) throws AuthorizationException, org.apache.storm.thrift.TException
Get assigned assignments for a specific supervisor
node
- AuthorizationException
org.apache.storm.thrift.TException
void sendSupervisorWorkerHeartbeats(SupervisorWorkerHeartbeats heartbeats) throws AuthorizationException, org.apache.storm.thrift.TException
Send supervisor worker heartbeats for a specific supervisor
heartbeats
- AuthorizationException
org.apache.storm.thrift.TException
void sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heatbeat) throws AuthorizationException, NotAliveException, org.apache.storm.thrift.TException
Send supervisor local worker heartbeat when a supervisor is unreachable
heatbeat
- AuthorizationException
NotAliveException
org.apache.storm.thrift.TException
void processWorkerMetrics(WorkerMetrics metrics) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
boolean isRemoteBlobExists(String blobKey) throws AuthorizationException, org.apache.storm.thrift.TException
Decide if the blob is removed from cluster.
blobKey
- AuthorizationException
org.apache.storm.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.