huijunwu opened a new pull request #2934: [aurora] add metadata support for 
aurora
URL: https://github.com/apache/incubator-heron/pull/2934
 
 
   Motivation: In some scenarios, users would like to pass some metadata or 
data to the Aurora job. 
   
   Approach: Users feed the metadata or data through `--config-property 
heron.scheduler.aurora.metadata.x=y`. 'heron.aurora' picks up these config by 
`{{AURORA_METADATA_x}}`
   
   Example:
   ```
   ./bin/heron submit --verbose \
   --config-property heron.scheduler.aurora.metadata.1=huijunwu \
   --config-property heron.scheduler.aurora.metadata.2=heron-examples \
   --config-property heron.scheduler.aurora.metadata.3=latest \
   cluster/huijunwu/test ./examples/heron-api-examples.jar \
   org.apache.heron.examples.api.WordCountTopology WordCountTopology
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to