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

Hadoop QA commented on OOZIE-3321:
----------------------------------


Testing JIRA OOZIE-3321

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 JAVADOC{color}
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc 
warning(s)
.    {color:red}WARNING{color}: the current HEAD has 100 Javadoc warning(s)
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc 
error(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 [examples].
. {color:green}+1{color} There are no new bugs found in [webapp].
. {color:green}+1{color} There are no new bugs found in [core].
. {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 [docs].
. {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/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/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/oozie].
. {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/spark].
. {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:red}-1 TESTS{color}
.    Tests run: 2914
.    Tests failed: 1
.    Tests errors: 0

.    The patch failed the following testcases:

testPyspark(org.apache.oozie.action.hadoop.TestPyspark)

.    Tests failing with errors:


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



> PySpark example fails
> ---------------------
>
>                 Key: OOZIE-3321
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3321
>             Project: Oozie
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 5.0.0, 5.1.0
>            Reporter: Daniel Becker
>            Assignee: Daniel Becker
>            Priority: Minor
>         Attachments: OOZIE-3321.1.patch
>
>
> The PySpark example fails with the following exception:
> {noformat}
> ACTION[0000001-180806145017687-oozie-oozi-W@spark-node] Launcher exception: 
> Missing py4j and/or pyspark zip files. Please add them to the lib folder or 
> to the Spark sharelib.
> org.apache.oozie.action.hadoop.OozieActionConfiguratorException: Missing py4j 
> and/or pyspark zip files. Please add them to the lib folder or to the Spark 
> sharelib.
>       at 
> org.apache.oozie.action.hadoop.SparkMain.getMatchingPyFile(SparkMain.java:151)
>       at 
> org.apache.oozie.action.hadoop.SparkMain.createPySparkLibFolder(SparkMain.java:132)
>       at org.apache.oozie.action.hadoop.SparkMain.run(SparkMain.java:77)
>       at 
> org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:101)
>       at org.apache.oozie.action.hadoop.SparkMain.main(SparkMain.java:60)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.apache.oozie.action.hadoop.LauncherAM.runActionMain(LauncherAM.java:410)
>       at 
> org.apache.oozie.action.hadoop.LauncherAM.access$300(LauncherAM.java:55)
>       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:1692)
>       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:1692)
>       at org.apache.oozie.action.hadoop.LauncherAM.main(LauncherAM.java:141)
> {noformat}
> This is because py4j-0.9-src.zip and pyspark.zip are not available. They are 
> needed for the example to run, so we should either add them to the sharelib 
> or if they are not important enough to be in the sharelib, we should add them 
> to the example's lib directory. Currently these two files can be found in the 
> codebase under sharelib/spark/src/test/resources. We should also decide what 
> to do with these files there, to avoid duplication of resource files.
> If I add the files manually to either the sharelib or the lib directory of 
> the example, the example runs successfilly.



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

Reply via email to