[
https://issues.apache.org/jira/browse/OOZIE-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867964#comment-13867964
]
Rohini Palaniswamy commented on OOZIE-1658:
-------------------------------------------
Instead of making the variable static, please use a setter and annotate it with
@VisibileForTesting
> Add bundle, coord, wf and action related information to launched M/R jobs.
> --------------------------------------------------------------------------
>
> Key: OOZIE-1658
> URL: https://issues.apache.org/jira/browse/OOZIE-1658
> Project: Oozie
> Issue Type: Bug
> Reporter: purshotam shah
> Assignee: purshotam shah
> Attachments: OOZIE-1658-v1.patch, OOZIE-1658.patch
>
>
> We should add workflow related information to launched job. This information
> can be used for analytics like how many oozie jobs are submitted for a
> particular period, what is the total number of failed pig jobs.. etc from
> mapreduce jobhistory logs and configuration.
> JobInfo will contain information of bundle, coordinator, workflow and
> actions. If enabled, Hadoop job will have
> property(oozie.job.info) which value is multiple key/value pair separated by
> ";".
> User can also add custom workflow property to jobinfo by adding property
> which prefix with "oozie.job.info."
> Eg.
> oozie.job.info="bundle.id=;bundle.name=;coord.name=;coord.nominal.time=;coord.name=;wf.id=;
> wf.name=;action.name=;action.type=;launcher=true"
>
> Jobinfo can enabled/disabled using "oozie.action.jobinfo.enable"
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)