passing properties to be set for sub workflow jobs

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Currently, a user does not have a way to specify properties for sub workflow jobs. Hence users use the add_args function after adding the planner_args

      j1 = SubWorkflow("subwf1.yml", _id="subwf1")\
      .add_planner_args(verbose=3)\
      .add_inputs(input_file, output_map_sw1)\
      .add_outputs(k1_out)

      1. I need to add the sub-workflow output map to the planning job.
        j1.add_args('-Dpegasus.dir.storage.mapper.replica.file=output_sw1.map')

      The problem is that order is important, since in java any property has to appear first on the command line. So when the yaml for the job is created, we have to ensure all properties are specified first via the -D notation before specifying any command line arguments

            Assignee:
            Ryan Tanaka [X] (Inactive)
            Reporter:
            Karan Vahi
            Archiver:
            Rajiv Mayani

              Created:
              Updated:
              Resolved:
              Archived: