Passing parameters at job submission

Several parameters allow changing their value preset in the application’s configuration file. You can overwrite configuration values if you want to try a new configuration during test. Refer to the parameter reference to see whether the parameter you need to pass a value to support this feature.

About this task

Assuming you have the STREAMS_DOMAIN_ID and STREAMS_INSTANCE_ID environment variables set in your console’s configuration, you do not need to use the ‘-d’ and ‘-i’ command-line parameters of the streamtool command. You built your application, but now want to read input data from a testdata directory. You use the ‘–P’ command-line parameter to pass a new value to ite.ingest.directory.input.

Procedure

  1. Open a terminal
  2. Change into the <PathToYourApplication>/output/ITEMain directory

  3. To submit your job with a new input directory value, enter:

    
    streamtool submitjob your.app.ITEMain.sab --P ite.ingest.directory.input='/home/streamsadmin/testdata'