You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2014/04/30 12:58:14 UTC

[jira] [Commented] (OOZIE-1816) LogInfo uses action name instead of id

    [ https://issues.apache.org/jira/browse/OOZIE-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985361#comment-13985361 ] 

Hadoop QA commented on OOZIE-1816:
----------------------------------

Testing JIRA OOZIE-1816

Cleaning local git workspace

----------------------------

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.    {color:green}+1{color} the patch does not introduce any @author tags
.    {color:green}+1{color} the patch does not introduce any tabs
.    {color:green}+1{color} the patch does not introduce any trailing spaces
.    {color:green}+1{color} the patch does not introduce any line longer than 132
.    {color:green}+1{color} the patch does adds/modifies 1 testcase(s)
{color:green}+1 RAT{color}
.    {color:green}+1{color} the patch does not seem to introduce new RAT warnings
{color:green}+1 JAVADOC{color}
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc warnings
{color:green}+1 COMPILE{color}
.    {color:green}+1{color} HEAD compiles
.    {color:green}+1{color} patch compiles
.    {color:green}+1{color} the patch does not seem to introduce new javac warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.    {color:green}+1{color} the patch does not change any JPA Entity/Colum/Basic/Lob/Transient annotations
.    {color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color}
.    Tests run: 1439
.    Tests failed: 2
.    Tests errors: 2

.    The patch failed the following testcases:

.      testCoordinatorActionCommandsSubmitAndStart(org.apache.oozie.sla.TestSLAEventGeneration)
.      testSingleRecord(org.apache.oozie.servlet.TestBulkMonitorWebServiceAPI)

{color:green}+1 DISTRO{color}
.    {color:green}+1{color} distro tarball builds with the patch 

----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}


The full output of the test-patch run is available at

.   https://builds.apache.org/job/oozie-trunk-precommit-build/1206/

> LogInfo uses action name instead of id
> --------------------------------------
>
>                 Key: OOZIE-1816
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1816
>             Project: Oozie
>          Issue Type: Improvement
>    Affects Versions: 4.0.1
>            Reporter: Azrael
>            Priority: Minor
>         Attachments: OOZIE-1816.1.patch
>
>
> LogInfo uses the actionId which contains jobId. 
> If use actionName for the action parameter, it reduce the duplicated info. 
> To enable, set oozie.service.XLogStreamingService.actionname.enable to true.
> oozie-site.xml
> {code:xml}
> <property>    
>     <name>oozie.service.XLogStreamingService.actionname.enable</name>
>     <value>true</value>
>     <description>
>         If true, log will contain action name at action filter, otherwise actionId.
>     </description>
> </property>
> {code}
> log messages
> {code}
> $ oozie job -log 0000002-140430134109257-oozie-seoe-W -logfilter loglevel=INFO
> 2014-04-30 13:46:27,648  INFO ActionStartXCommand:539 - USER[seoeun] GROUP[user] TOKEN[] APP[test] JOB[0000002-140430134109257-oozie-seoe-W] ACTION[:start:] Start action [0000002-140430134109257-oozie-seoe-W@:start:] with user-retry state : userRetryCount [0], userRetryMax [0], userRetryInterval [10]
> 2014-04-30 13:46:27,723  INFO ActionStartXCommand:539 - USER[seoeun] GROUP[user] TOKEN[] APP[test] JOB[0000002-140430134109257-oozie-seoe-W] ACTION[shell-1] Start action [0000002-140430134109257-oozie-seoe-W@shell-1] with user-retry state : userRetryCount [0], userRetryMax [0], userRetryInterval [10]
> $ oozie job -log 0000000-140430134109257-oozie-seoe-C -logfilter loglevel=INFO
> 2014-04-30 13:46:26,962  INFO CoordActionNotificationXCommand:539 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000000-140430134109257-oozie-seoe-C] ACTION[1] STARTED Coordinator Notification actionId=0000000-140430134109257-oozie-seoe-C@1 : WAITING
> 2014-04-30 13:46:26,964  INFO CoordActionNotificationXCommand:539 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000000-140430134109257-oozie-seoe-C] ACTION[1] ENDED Coordinator Notification actionId=0000000-140430134109257-oozie-seoe-C@1
> 2014-04-30 13:46:27,477  INFO CoordActionNotificationXCommand:539 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000000-140430134109257-oozie-seoe-C] ACTION[2] STARTED Coordinator Notification actionId=0000000-140430134109257-oozie-seoe-C@2 : WAITING
> 2014-04-30 13:46:27,481  INFO CoordActionNotificationXCommand:539 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000000-140430134109257-oozie-seoe-C] ACTION[2] ENDED Coordinator Notification actionId=0000000-140430134109257-oozie-seoe-C@2
> {code}



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