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

Hadoop QA commented on OOZIE-3378:
----------------------------------


Testing JIRA OOZIE-3378

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 star imports
.    {color:green}+1{color} the patch does not introduce any line longer than 
132
.    {color:green}+1{color} the patch 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} Javadoc generation succeeded with the patch
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc 
warning(s)
.    {color:orange}WARNING{color}: the current HEAD has 100 Javadoc warning(s)
{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{color} There are no new bugs found in total.
. {color:green}+1{color} There are no new bugs found in [sharelib/hive2].
. {color:green}+1{color} There are no new bugs found in [sharelib/spark].
. {color:green}+1{color} There are no new bugs found in [sharelib/oozie].
. {color:green}+1{color} There are no new bugs found in [sharelib/pig].
. {color:green}+1{color} There are no new bugs found in [sharelib/streaming].
. {color:green}+1{color} There are no new bugs found in [sharelib/hive].
. {color:green}+1{color} There are no new bugs found in [sharelib/distcp].
. {color:green}+1{color} There are no new bugs found in [sharelib/hcatalog].
. {color:green}+1{color} There are no new bugs found in [sharelib/sqoop].
. {color:green}+1{color} There are no new bugs found in [sharelib/git].
. {color:green}+1{color} There are no new bugs found in [client].
. {color:green}+1{color} There are no new bugs found in [docs].
. {color:green}+1{color} There are no new bugs found in [tools].
. {color:green}+1{color} There are no new bugs found in 
[fluent-job/fluent-job-api].
. {color:green}+1{color} There are no new bugs found in [server].
. {color:green}+1{color} There are no new bugs found in [webapp].
. {color:green}+1{color} There are no new bugs found in [examples].
. {color:green}+1{color} There are no new bugs found in [core].
{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        : 3063
.    Tests failed     : 1
.    Tests in error   : 0
.    Tests timed out  : 0

{color:red}-1{color} [ERROR] There are [1] test failures in [core]. Listing 
only the first [5] ones
testMaterializationLookup:org.apache.oozie.command.coord.TestCoordMaterializeTransitionXCommand

Check console output for the full list of errors/failures
{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}

{color:red}. There is at least one warning, please check{color}

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

. https://builds.apache.org/job/PreCommit-OOZIE-Build/904/



> Coordinator action's status is SUBMITTED after E1003 error
> ----------------------------------------------------------
>
>                 Key: OOZIE-3378
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3378
>             Project: Oozie
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Andras Salamon
>            Assignee: Andras Salamon
>            Priority: Major
>             Fix For: 5.2.0
>
>         Attachments: OOZIE-3378-01.patch
>
>
> If I try to run a coordinator job which gives an {{E1003}} error code, the 
> coordinator's status is not changed to {{FAILED}}.
> I was using the following {{coordinator.xml}}
> {noformat}
> <coordinator-app name="cron-coord" frequency="0/10 * * * *" start="${start}" 
> end="${end}" timezone="UTC"
>                  xmlns="uri:oozie:coordinator:0.2">
>         <action>
>         <workflow>
>             <app-path>${workflowAppUri}</app-path>
>             <configuration>
>                 <property>
>                     <name>resourceManager</name>
>                     <value>${resourceManager}</value>
>                 </property>
>                 <property>
>                     <name>nameNode</name>
>                     <value>${nameNode}</value>
>                 </property>
>                 <property>
>                     <name>queueName</name>
>                     <value>${queueName}</value>
>                 </property>
>                 <property>
>                     <name>user.name</name>
>                     <value>admin</value>
>                 </property>             
>             </configuration>
>         </workflow>
>     </action>
> </coordinator-app>
> {noformat}
> The status of the coordinator job is {{RUNNING}}
> {noformat}
> $ oozie job -oozie http://localhost:11000/oozie -info 
> 0000000-181105104843399-oozie-andr-C
> Job ID : 0000000-181105104843399-oozie-andr-C
> ------------------------------------------------------------------------------------------------------------------------------------
> Job Name    : cron-coord
> App Path    : 
> hdfs://localhost:9000/user/andrassalamon/examples/apps/cron-schedule
> Status      : RUNNING
> Start Time  : 2010-01-01 00:00 GMT
> End Time    : 2010-01-01 01:00 GMT
> Pause Time  : -
> Concurrency : 1
> ------------------------------------------------------------------------------------------------------------------------------------
> ID                                         Status    Ext ID                   
>             Err Code  Created              Nominal Time         
> 0000000-181105104843399-oozie-andr-C@1     SUBMITTED -                        
>             -         2018-11-05 09:54 GMT 2010-01-01 00:00 GMT 
> ------------------------------------------------------------------------------------------------------------------------------------
> 0000000-181105104843399-oozie-andr-C@2     READY     -                        
>             -         2018-11-05 09:54 GMT 2010-01-01 00:10 GMT 
> ------------------------------------------------------------------------------------------------------------------------------------
> 0000000-181105104843399-oozie-andr-C@3     READY     -                        
>             -         2018-11-05 09:54 GMT 2010-01-01 00:20 GMT 
> ------------------------------------------------------------------------------------------------------------------------------------
> 0000000-181105104843399-oozie-andr-C@4     READY     -                        
>             -         2018-11-05 09:54 GMT 2010-01-01 00:30 GMT 
> ------------------------------------------------------------------------------------------------------------------------------------
> 0000000-181105104843399-oozie-andr-C@5     READY     -                        
>             -         2018-11-05 09:54 GMT 2010-01-01 00:40 GMT 
> ------------------------------------------------------------------------------------------------------------------------------------
> 0000000-181105104843399-oozie-andr-C@6     READY     -                        
>             -         2018-11-05 09:54 GMT 2010-01-01 00:50 GMT 
> ------------------------------------------------------------------------------------------------------------------------------------
> {noformat}
> The status of the first coordinator action is {{SUBMITTED}}
> {noformat}
> $ ./distro/target/oozie-5.2.0-SNAPSHOT-distro/oozie-5.2.0-SNAPSHOT/bin/oozie 
> job -oozie http://localhost:11000/oozie -info 
> 0000000-181105104843399-oozie-andr-C@1
> ID : 0000000-181105104843399-oozie-andr-C@1
> ------------------------------------------------------------------------------------------------------------------------------------
> Action Number        : 1
> Console URL          : -
> Error Code           : -
> Error Message        : -
> External ID          : -
> External Status      : -
> Job ID               : 0000000-181105104843399-oozie-andr-C
> Tracker URI          : -
> Created              : 2018-11-05 09:54 GMT
> Nominal Time         : 2010-01-01 00:00 GMT
> Status               : SUBMITTED
> Last Modified        : 2018-11-05 09:54 GMT
> First Missing Dependency : -
> ------------------------------------------------------------------------------------------------------------------------------------
> {noformat}
> The log contains the {{E1003}} error message:
> {noformat}
> $ oozie job -oozie http://localhost:11000/oozie -log 
> 0000000-181105104843399-oozie-andr-C
> ...
> 2018-11-05 11:04:57,837 ERROR CoordActionStartXCommand:517 - 
> SERVER[SalamonAndras-MBP15.local] USER[-] GROUP[-] TOKEN[-] APP[-] 
> JOB[0000000-181105104843399-oozie-andr-C] 
> ACTION[0000000-181105104843399-oozie-andr-C@1] XException, 
> org.apache.oozie.command.CommandException: E1003: Invalid coordinator 
> application attributes, user.name=admin
>       at 
> org.apache.oozie.command.coord.CoordActionStartXCommand.mergeConfig(CoordActionStartXCommand.java:180)
>       at 
> org.apache.oozie.command.coord.CoordActionStartXCommand.execute(CoordActionStartXCommand.java:197)
>       at 
> org.apache.oozie.command.coord.CoordActionStartXCommand.execute(CoordActionStartXCommand.java:63)
>       at org.apache.oozie.command.XCommand.call(XCommand.java:291)
>       at 
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:363)
>       at 
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:292)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at 
> org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:210)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>       at java.lang.Thread.run(Thread.java:748)
> ...
> {noformat}
> We should change the status to {{FAILED}} in this case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to