[
https://issues.apache.org/jira/browse/OOZIE-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13737355#comment-13737355
]
Virag Kothari commented on OOZIE-1493:
--------------------------------------
Yeah, when signal is called for the first time, action id will be null.
> Simplify getKey() values in some commands
> -----------------------------------------
>
> Key: OOZIE-1493
> URL: https://issues.apache.org/jira/browse/OOZIE-1493
> Project: Oozie
> Issue Type: Bug
> Affects Versions: trunk, 4.0.0
> Reporter: Robert Kanter
> Priority: Minor
>
> OOZIE-1473 sets the value for the getKey() method in some commands. Some of
> these are unnecessarily longer than they need to be. For example, in
> SignalXCommand:
> {code}
> public String getKey() {
> return getName() + "_" + jobId + "_" + actionId;
> }
> {code}
> The actionId already contains the jobId, so it can be simplified to something
> like:
> {code}
> public String getKey() {
> return getName() + "_" + actionId;
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira