You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Piros (JIRA)" <ji...@apache.org> on 2018/09/19 17:21:00 UTC

[jira] [Comment Edited] (OOZIE-3349) Test cases in oozie fail with java.net.ConnectException

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

Andras Piros edited comment on OOZIE-3349 at 9/19/18 5:20 PM:
--------------------------------------------------------------

[~alishap] indeed, it really seems OOZIE-3160 broke something.

To reproduce:
{noformat}
git checkout 13bfd49495d095f51d22d0f51042690837b701a4
mvn clean test -pl core -Dtest=TestHAPartitionDependencyManagerService
...
Caused by: java.net.ConnectException: Connection refused
...
[ERROR] Errors: 
[ERROR]   TestHAPartitionDependencyManagerService.setUp:48->ZKXTestCase.setUp:70->XHCatTestCase.setUp:42->XFsTestCase.setUp:81->XFsTestCase.initFileSystem:92 » Connect
[INFO] 
[ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
{noformat}

Whereas previous commit {{fe2da6e57d5ae48d50d5cac4780c887de1d46afe}} is still correct:
{noformat}
git co fe2da6e57d5ae48d50d5cac4780c887de1d46afe
...
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.oozie.service.TestHAPartitionDependencyManagerService
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.904 s - in org.apache.oozie.service.TestHAPartitionDependencyManagerService
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
...
{noformat}

Here the recent commits:
{noformat}
commit 13bfd49495d095f51d22d0f51042690837b701a4
Author: Peter Bacsko <pb...@cloudera.com>
Date:   Thu Sep 6 14:42:59 2018 +0200

    OOZIE-3160 PriorityDelayQueue put()/take() can cause significant CPU load due to busy waiting (pbacsko)

commit fe2da6e57d5ae48d50d5cac4780c887de1d46afe
Author: Andras Piros <an...@cloudera.com>
Date:   Tue Sep 4 15:32:08 2018 +0200

    OOZIE-2877 Git action (clayb, andras.piros via pbacsko, gezapeti)
{noformat}

Commit {{13bfd49495d095f51d22d0f51042690837b701a4}} looks the one in question. Investigating what's going on there.


was (Author: andras.piros):
[~alishap] indeed, it really seems OOZIE-3160 broke something.

To reproduce:
{noformat}
git checkout 13bfd49495d095f51d22d0f51042690837b701a4
mvn clean test -pl core -Dtest=TestHAPartitionDependencyManagerService
...
Caused by: java.net.ConnectException: Connection refused
...
[ERROR] Errors: 
[ERROR]   TestHAPartitionDependencyManagerService.setUp:48->ZKXTestCase.setUp:70->XHCatTestCase.setUp:42->XFsTestCase.setUp:81->XFsTestCase.initFileSystem:92 » Connect
[INFO] 
[ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
{noformat}

Here the recent commits:
{noformat}
commit 13bfd49495d095f51d22d0f51042690837b701a4
Author: Peter Bacsko <pb...@cloudera.com>
Date:   Thu Sep 6 14:42:59 2018 +0200

    OOZIE-3160 PriorityDelayQueue put()/take() can cause significant CPU load due to busy waiting (pbacsko)

commit fe2da6e57d5ae48d50d5cac4780c887de1d46afe
Author: Andras Piros <an...@cloudera.com>
Date:   Tue Sep 4 15:32:08 2018 +0200

    OOZIE-2877 Git action (clayb, andras.piros via pbacsko, gezapeti)
{noformat}

Commit {{13bfd49495d095f51d22d0f51042690837b701a4}} looks the one in question. Investigating what's going on there.

> Test cases in oozie fail with java.net.ConnectException
> -------------------------------------------------------
>
>                 Key: OOZIE-3349
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3349
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Alisha Prabhu
>            Assignee: Andras Piros
>            Priority: Major
>              Labels: ppc64le, x86_64
>             Fix For: 5.1.0
>
>
> Mvn command used : mvn test -fn
> Error :
> {code:java}
> java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
> 	at sun.reflect.GeneratedConstructorAccessor232.newInstance(Unknown Source)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> 	at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:791)
> 	at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:731)
> 	at org.apache.hadoop.ipc.Client.call(Client.java:1472)
> 	at org.apache.hadoop.ipc.Client.call(Client.java:1399)
> 	at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)
> 	at com.sun.proxy.$Proxy33.getFileInfo(Unknown Source)
> 	at 
> {code}



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