| Option Name | Description | Example |
| hires* |
Used to specify that hpsearch should load NB's Hi-Resoulution timer and not use the default Java's System.currentTimeMillis()
|
-hires |
| log4j.props* | Used to specify alternate Log4J properties file. One may maintain separate logging facilities (e.g. one log4j properties file may specify that logging may be done only for INFO or higher while other may specify that logging must be done for DEBUG or higher levels and must be redirected to a revolving log file in addition to STDOUT) | -log4j.props=file:///u/hgadgil/hpsearch/conf/log4j2.properties |
| nb.config* | Specifies an alternate location for ServiceConfiguration.txt file used when behaving as a NaradaBrokering client in order to configure the SessionService. Default location is NB_HOME/config/ServiceConfiguration.txt | -nb.config=file:///tmp/alternateConfig.txt |
| persistant* |
Specifies that only 1 connection (broker_host:port:protocol) will be made to a broker through this JVM. Once established
this connection is not be closed until the JVM terminates. Invoking a close() call on the
stream simply unsubscribes
from the corresponding topic OR disables further publishing of events to
the specified topic. |
-persistant |
| flowlogging* | Enables flow logging. Once enabled, HPSearch deployed flows can use the flow manager to record log entries during flow execution. Currently only the timestamp and entry is stored. Refer Flow Logging for more detail. | -flowlogging |
| script** | Specifies a script to run from the commandline. After finishing execution, the HPSearch kernel exits. This is complimentary to the -sh option and has higher precedence | -script=file:///u/testScripts/deployTopology.js |
| scriptArgs** |
Can be used with the script parameter to specify arguments to the
script. These arguments are then subsequently available usingARGS[i]where i = 0, 1, ... for the ith argument
|
-scriptArgs="arg1 arg2 arg3" |
| sh** | Starts the kernel in shell mode | -sh |
| shellws.port* |
Starts the shell web-service on the specified port. Default value is 28080 |
-shellws.port=1500 |
| broker.host* | The default broker to connect to when subscribing / publishing to topics. If not specified the localhost is used | -broker.host=trex.ucs.indiana.edu |
| broker.port* | The port to connect to. Default is 3045 | -broker.port=1234 |
| autoInitCommLink** | If the HPSearch engine cannot detect a Broker, it will not start the Communication Link for TaskScheduler Engine If this parameter is included, the HPSearch engine will automatically try to connect to a broker periodically ! If this parameter is not included then you can connect to a specific broker using the commandline Sys.InitCommLink(host, port, protocol)
|
-autoInitCommLink |
| perf* | Should the performance measurements be taken for various actions. Default is false | -perf |
HPSEARCH_HOME/bin/run.sh(.bat))-Dbroker.host, -Dbroker.port, -Dshellws.port, -Dperf, -Dpersistant
-hires-persistant, -flowlogging-script, -scriptArgs, -shellws.port-autoInitCommLink