You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 6
Next »
(currently work-in-progress)
Despite the graphical integration in Odysseus Studio, OdysseusNet provides console commands to control distributed data stream processing in the OSGi-Console. These console commands are available if OdysseusNet is activated (see OdysseusNet). The following commands are supported:
Configuration of OdysseusNet
Command | Description | Example |
---|
listNetConfiguration | Lists all currently set settings for OdysseusNet (see Configuration). | |
lsNetConfiguration | See listNetConfiguration . | |
setNetConfiguration <key> <value> | Sets a configuration key-value-pair of OdysseusNet. Depending on the specific setting, changing the value has different effects. | setNetConfiguration net.node.name NewNodeName |
saveNetConfiguration | Saves the configuration settings of OdysseusNet into the configuration file (see Configuration) | |
Data stream processing
Command | Description | Example |
---|
dumpStream <hash | name> <time> | Prints the current output data stream elements of the specified physical operator (specified by its hash or name ). Printing stops after the specified amount of time . | |
dumpPlan <queryID> | Prints the physical plan (with its operators) of the query with the specified queryID. | |
General
Command | Description | Example |
---|
startOdysseusNet | Starts/Activates OdysseusNet, if not activated | |
stopOdysseusNet | Stops/Deactivated OdysseusNet, if activated | |
isOdysseusNetStarted | Prints out if OdysseusNet is started or not | |
Help
Command | Description | Example |
---|
helpNet | Prints help text for these console commands | |
Logging
Command | Description | Example |
---|
log <logLevel> <message> | Logs a message with the specified log level. Supported log levels are trace, debug, info, warn and error . | log debug "I am a message" |
setLogger <loggerName> <logLevel> (duration) | Sets the log level for the specified logger. If optional duration (in milliseconds) is specified, the log level is reset back to previous level after this amount of time. | setLogger de.uniol.inf.is.odysseus.core debug 20000 |
setLoggerOdysseus <loggerName> <logLevel> (duration) | Like setLogger, except the prefix de.uniol.inf.is.odysseus for the logger name must not be specified. | setLoggerOdysseus core debug 20000 |
listLoggers (filter) | Lists all available/active loggers. Filters the list if filter is specified. | listLoggers core |
lsLoggers (filters) | See listLoggers | |
Nodes
Command | Description | Example |
---|
listNodes | Lists all known nodes (connected and not connected ones) | |
lsNodes | See listNodes. | |
describeNode <nodename | nodeid> | Prints available information about the specified node (by name or by id ) | |
descNode <nodename | nodeid> | See describeNode | |
showLocalNode | Prints node information of the own (local) node | |
listConnectedNodes | Lists all nodes which are connected to own node | |
lsConnectedNodes | See listConnectedNodes | |
isConnected <nodename | nodeid> | Prints if the specified node is connected to own node or not. | |
System properties
Command | Description | Example |
---|
listSystemProperties (filter) | Lists all system properties (and values). Filters the list if filter is specified. | listSystemProperties os |
lsSystemProperties (filter) | See listSystemProperties | |
setSystemProperty <propName> <value> | Sets the system property propName to value value . | setSystemProperty user.home Lala |
Threads
Command | Description | Example |
---|
listThreads (filter) | Lists all currently running threads of the virtual machine. Filters the list if filter is specified. | |
lsThreads (filter) | See listThreads | |