[
https://issues.apache.org/jira/browse/OOZIE-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198877#comment-16198877
]
Hadoop QA commented on OOZIE-3082:
----------------------------------
Testing JIRA OOZIE-3082
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:red}WARNING{color}: the current HEAD has 77 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:red}-1{color} There are [1] new bugs found below threshold in total that
must be fixed.
. {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{color} There are no new bugs found in [sharelib/distcp].
. {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/pig].
. {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/hive2].
. {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:red}-1{color} There are [1] new bugs found below threshold in
[sharelib/oozie] that must be fixed.
. You can find the FindBugs diff here (look for the red and orange ones):
sharelib/oozie/findbugs-new.html
. The most important FindBugs errors are:
. At ActionStats.java:[line 37]: Unwritten public or protected field:
org.apache.oozie.action.hadoop.ActionStats.currentActionType
. {color:green}+1{color} There are no new bugs found in [sharelib/streaming].
. {color:green}+1{color} There are no new bugs found in [tools].
. {color:green}+1{color} There are no new bugs found in [docs].
. {color:green}+1{color} There are no new bugs found in [server].
. {color:green}+1{color} There are no new bugs found in [client].
{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:green}+1 TESTS{color}
. Tests run: 2039
. Tests rerun: 57
. Tests failed at first run:
org.apache.oozie.command.bundle.TestBundleSubmitXCommand,org.apache.oozie.action.hadoop.TestJavaActionExecutor,
{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/96/
> Move org.apache.oozie.action.hadoop.ActionStats to Oozie ShareLib
> -----------------------------------------------------------------
>
> Key: OOZIE-3082
> URL: https://issues.apache.org/jira/browse/OOZIE-3082
> Project: Oozie
> Issue Type: Bug
> Affects Versions: 5.0.0
> Reporter: Attila Sasvari
> Assignee: Attila Sasvari
> Attachments: OOZIE-3082-001.patch
>
>
> OOZIE-2852 moved ActionStats to oozie-core. Because of this Pig jobs are
> failing with {{java.lang.NoClassDefFoundError:
> org/apache/oozie/action/hadoop/ActionStats}}
> Reproduction:
> - I executed the pig wf example on a cluster with {{bin/oozie job -oozie
> http://localhost:11000/oozie -config examples/apps/pig/job.properties -run
> -DnameNode=hdfs://localhost:9000 -DjobTracker=localhost:8032}}. RM web UI
> show the OoziLauncher failed:
> {code}
> State: FINISHED
> FinalStatus: FAILED
> Started: 10-Oct-2017 13:54:33
> Elapsed: 14sec
> Tracking URL: History
> Diagnostics: org/apache/oozie/action/hadoop/ActionStats
> {code}
> - Looking at the logs it turns out ActionStats is not contained anymore in
> the Oozie sharelib:
> {code}
> java.lang.NoClassDefFoundError: org/apache/oozie/action/hadoop/ActionStats
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:348)
> at
> org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2013)
> at
> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:1978)
> at
> org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2072)
> at
> org.apache.oozie.action.hadoop.LauncherAM.runActionMain(LauncherAM.java:404)
> at
> org.apache.oozie.action.hadoop.LauncherAM.access$300(LauncherAM.java:56)
> at
> org.apache.oozie.action.hadoop.LauncherAM$2.run(LauncherAM.java:223)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:422)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
> at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:217)
> at
> org.apache.oozie.action.hadoop.LauncherAM$1.run(LauncherAM.java:153)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:422)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
> at org.apache.oozie.action.hadoop.LauncherAM.main(LauncherAM.java:140)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.oozie.action.hadoop.ActionStats
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 17 more
> {code}
> We should move ActionStats to sharelib (that is oozie-core's compile
> dependency).
> ( It might also make sense to create a docker based job to run the example
> workflows regularly to protect against this kind of failures in the future.
> Docker image could contain a simple, 1-node pseudo hadoop cluster and Oozie. )
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)