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

Hadoop QA commented on OOZIE-1821:
----------------------------------

Testing JIRA OOZIE-1821

Cleaning local git workspace

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

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:red}-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:red}-1{color} the patch does not add/modify any testcase
{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: 1499
.    Tests failed: 1
.    Tests errors: 5

.    The patch failed the following testcases:

.      
testCoordinatorActionCommandsSubmitAndStart(org.apache.oozie.sla.TestSLAEventGeneration)

{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/1338/

> Oozie java action fails due to AlreadyBeingCreatedException
> -----------------------------------------------------------
>
>                 Key: OOZIE-1821
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1821
>             Project: Oozie
>          Issue Type: Bug
>          Components: action
>    Affects Versions: trunk, 3.3.2
>         Environment: Hadoop 0.20.2-cdh3u5
> Oozie server build version: 3.3.2.8
>            Reporter: Abhishek Agarwal
>            Assignee: Abhishek Agarwal
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: OOZIE_1821-V2.patch, OOZIE_1821-V3.patch
>
>
> 2014-04-17 17:13:33,773  WARN ActionStartXCommand:542 - USER[<user_id>] 
> GROUP[-] TOKEN[] APP[<app_name>] JOB[0078484-    
> 140410182733292-oozie-oozi-W] 
> ACTION[0078484-140410182733292-oozie-oozi-W@recordsize] Error starting action 
> [recordsize]. ErrorType [TRANSIENT], ErrorCode    [JA009], Message [JA009: 
> org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException: failed to 
> create file 
> /user/<user-name>/oozie-oozi/0078484-140410182733292-oozie-oozi-W/recordsize--java/action.xml
>  for DFSClient_-1385059579 on client <client ip> because current leaseholder 
> is trying to recreate file.
>     at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.recoverLeaseInternal(FSNamesystem.java:1407)
>     at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:1279)
>     at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(FSNamesystem.java:1221)
>     at 
> org.apache.hadoop.hdfs.server.namenode.NameNode.create(NameNode.java:703)
>     at 
> org.apache.hadoop.hdfs.server.namenode.NameNode.create(NameNode.java:682)
>     at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:557)
>     at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1439)
>     at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1435)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at javax.security.auth.Subject.doAs(Subject.java:396)
>     at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1278)
>     at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1433)
> ]
> Earlier the java action had failed due to disk quota exceeded exception which 
> is a transient error. when oozie retried to run the action, later retrials 
> resulted in above exception. 
> In org.apache.oozie.action.hadoop,LauncherMapper, if writing action xml fails 
> due to an error, output stream should be closed gracefully. 
> OutputStream os = fs.create(new Path(actionDir, ACTION_CONF_XML));
> actionConf.writeXml(os);
> os.close();



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

Reply via email to