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

CommandDescriptionExample
listNetConfigurationLists all currently set settings for OdysseusNet (see Configuration). 
lsNetConfigurationSee 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
saveNetConfigurationSaves the configuration settings of OdysseusNet into the configuration file (see Configuration) 

 

Data stream processing

CommandDescriptionExample
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

CommandDescriptionExample
startOdysseusNetStarts/Activates OdysseusNet, if not activated 
stopOdysseusNetStops/Deactivated OdysseusNet, if activated 
isOdysseusNetStartedPrints out if OdysseusNet is started or not 

 

Help

CommandDescriptionExample
helpNetPrints help text for these console commands 

Logging

CommandDescriptionExample
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

CommandDescriptionExample
listNodesLists all known nodes (connected and not connected ones) 
lsNodesSee listNodes. 
describeNode <nodename | nodeid>Prints available information about the specified node (by name or by id) 
descNode <nodename | nodeid>See describeNode 
showLocalNodePrints node information of the own (local) node 
listConnectedNodesLists all nodes which are connected to own node 
lsConnectedNodesSee listConnectedNodes 
isConnected <nodename | nodeid>Prints if the specified node is connected to own node or not. 

 

System properties

CommandDescriptionExample
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

CommandDescriptionExample
listThreads (filter)Lists all currently running threads of the virtual machine. Filters the list if filter is specified. 
lsThreads (filter)See listThreads 
  • No labels