public static interface Nimbus.Iface
void submitTopology(String name, String uploadedJarLocation, String jsonConf, StormTopology topology) throws AlreadyAliveException, InvalidTopologyException, AuthorizationException, org.apache.thrift.TException
AlreadyAliveException
InvalidTopologyException
AuthorizationException
org.apache.thrift.TException
void submitTopologyWithOpts(String name, String uploadedJarLocation, String jsonConf, StormTopology topology, SubmitOptions options) throws AlreadyAliveException, InvalidTopologyException, AuthorizationException, org.apache.thrift.TException
AlreadyAliveException
InvalidTopologyException
AuthorizationException
org.apache.thrift.TException
void killTopology(String name) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
void killTopologyWithOpts(String name, KillOptions options) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
void activate(String name) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
void deactivate(String name) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
void rebalance(String name, RebalanceOptions options) throws NotAliveException, InvalidTopologyException, AuthorizationException, org.apache.thrift.TException
NotAliveException
InvalidTopologyException
AuthorizationException
org.apache.thrift.TException
void setLogConfig(String name, LogConfig config) throws org.apache.thrift.TException
org.apache.thrift.TException
LogConfig getLogConfig(String name) throws org.apache.thrift.TException
org.apache.thrift.TException
void debug(String name, String component, boolean enable, double samplingPercentage) throws NotAliveException, AuthorizationException, org.apache.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.thrift.TException
void setWorkerProfiler(String id, ProfileRequest profileRequest) throws org.apache.thrift.TException
org.apache.thrift.TException
List<ProfileRequest> getComponentPendingProfileActions(String id, String component_id, ProfileAction action) throws org.apache.thrift.TException
org.apache.thrift.TException
void uploadNewCredentials(String name, Credentials creds) throws NotAliveException, InvalidTopologyException, AuthorizationException, org.apache.thrift.TException
NotAliveException
InvalidTopologyException
AuthorizationException
org.apache.thrift.TException
String beginCreateBlob(String key, SettableBlobMeta meta) throws AuthorizationException, KeyAlreadyExistsException, org.apache.thrift.TException
AuthorizationException
KeyAlreadyExistsException
org.apache.thrift.TException
String beginUpdateBlob(String key) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
void uploadBlobChunk(String session, ByteBuffer chunk) throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
void finishBlobUpload(String session) throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
void cancelBlobUpload(String session) throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
ReadableBlobMeta getBlobMeta(String key) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
void setBlobMeta(String key, SettableBlobMeta meta) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
BeginDownloadResult beginBlobDownload(String key) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
ByteBuffer downloadBlobChunk(String session) throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
void deleteBlob(String key) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
ListBlobsResult listBlobs(String session) throws org.apache.thrift.TException
org.apache.thrift.TException
int getBlobReplication(String key) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
int updateBlobReplication(String key, int replication) throws AuthorizationException, KeyNotFoundException, org.apache.thrift.TException
AuthorizationException
KeyNotFoundException
org.apache.thrift.TException
void createStateInZookeeper(String key) throws org.apache.thrift.TException
org.apache.thrift.TException
String beginFileUpload() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
void uploadChunk(String location, ByteBuffer chunk) throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
void finishFileUpload(String location) throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
String beginFileDownload(String file) throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
ByteBuffer downloadChunk(String id) throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
String getNimbusConf() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
ClusterSummary getClusterInfo() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
NimbusSummary getLeader() throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
boolean isTopologyNameAllowed(String name) throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
TopologyInfo getTopologyInfo(String id) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
TopologyInfo getTopologyInfoWithOpts(String id, GetInfoOptions options) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
TopologyPageInfo getTopologyPageInfo(String id, String window, boolean is_include_sys) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
SupervisorPageInfo getSupervisorPageInfo(String id, String host, boolean is_include_sys) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
ComponentPageInfo getComponentPageInfo(String topology_id, String component_id, String window, boolean is_include_sys) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
String getTopologyConf(String id) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
NotAliveException
AuthorizationException
org.apache.thrift.TException
StormTopology getTopology(String id) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
Returns the compiled topology that contains ackers and metrics consumsers. Compare getUserTopology(String id)
.
id
- NotAliveException
AuthorizationException
org.apache.thrift.TException
StormTopology getUserTopology(String id) throws NotAliveException, AuthorizationException, org.apache.thrift.TException
Returns the user specified topology as submitted originally. Compare getTopology(String id)
.
id
- NotAliveException
AuthorizationException
org.apache.thrift.TException
TopologyHistoryInfo getTopologyHistory(String user) throws AuthorizationException, org.apache.thrift.TException
AuthorizationException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.