Robert Kanter created OOZIE-1493:
------------------------------------

             Summary: 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

Reply via email to