Azrael created OOZIE-1802:
-----------------------------

             Summary: Support workflow action log
                 Key: OOZIE-1802
                 URL: https://issues.apache.org/jira/browse/OOZIE-1802
             Project: Oozie
          Issue Type: Improvement
          Components: action
    Affects Versions: trunk
            Reporter: Azrael
            Priority: Minor


If workflow contains lots of actions, it is hard to search the specific action 
log. It provides the log of workflow action.


{code}
$ oozie job -log 0000002-140421113135686-oozie-seoe-W@shell-1

2014-04-21 13:05:52,968  INFO ActionStartXCommand:539 - SERVER[seair.local] 
USER[seoeun] GROUP[user] TOKEN[] APP[test] 
JOB[0000002-140421113135686-oozie-seoe-W] 
ACTION[0000002-140421113135686-oozie-seoe-W@shell-1] Start action 
[0000002-140421113135686-oozie-seoe-W@shell-1] with user-retry state : 
userRetryCount [0], userRetryMax [0], userRetryInterval [10]
2014-04-21 13:05:53,238  INFO ShellActionExecutor:539 - SERVER[seair.local] 
USER[seoeun] GROUP[user] TOKEN[] APP[test] 
JOB[0000002-140421113135686-oozie-seoe-W] 
ACTION[0000002-140421113135686-oozie-seoe-W@shell-1] checking action, hadoop 
job ID [job_201404211041_0005] status [RUNNING]
2014-04-21 13:05:53,241  WARN ActionStartXCommand:542 - SERVER[seair.local] 
USER[seoeun] GROUP[user] TOKEN[] APP[test] 
JOB[0000002-140421113135686-oozie-seoe-W] 
ACTION[0000002-140421113135686-oozie-seoe-W@shell-1] 
[***0000002-140421113135686-oozie-seoe-W@shell-1***]Action status=RUNNING
2014-04-21 13:05:53,242  WARN ActionStartXCommand:542 - SERVER[seair.local] 
USER[seoeun] GROUP[user] TOKEN[] APP[test] 
JOB[0000002-140421113135686-oozie-seoe-W] 
ACTION[0000002-140421113135686-oozie-seoe-W@shell-1] 
[***0000002-140421113135686-oozie-seoe-W@shell-1***]Action updated in DB!
2014-04-21 13:06:00,520  INFO CallbackServlet:539 - SERVER[seair.local] USER[-] 
GROUP[-] TOKEN[-] APP[-] JOB[0000002-140421113135686-oozie-seoe-W] 
ACTION[0000002-140421113135686-oozie-seoe-W@shell-1] callback for action 
[0000002-140421113135686-oozie-seoe-W@shell-1]

{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to