curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "imic (Jira)" <j...@apache.org>
Subject [jira] [Updated] (CURATOR-538) Background exception was not retry-able or retry gave up
Date Wed, 28 Aug 2019 05:34:00 GMT

     [ https://issues.apache.org/jira/browse/CURATOR-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

imic updated CURATOR-538:
-------------------------
    Description: 
 

error log:
{code:java}
//err code is here
2019-08-21 14:24:30.654 0.0.0.0:30901  INFO 45964     --- [e-1-EventThread] org.apache.zookeeper.ClientCnxn 
        : EventThread shut down for session: 0x10072ab8a8001b12019-08-21 14:24:30.654
0.0.0.0:30901  INFO 45964     --- [e-1-EventThread] org.apache.zookeeper.ClientCnxn 
        : EventThread shut down for session: 0x10072ab8a8001b12019-08-21 14:24:30.655
0.0.0.0:30901 ERROR 45964     --- [e-1-EventThread] o.a.c.f.imps.CuratorFrameworkImpl 
      : Background exception was not retry-able or retry gave up
java.lang.NullPointerException: null at org.apache.curator.framework.imps.EnsembleTracker.configToConnectionString(EnsembleTracker.java:179)
at org.apache.curator.framework.imps.EnsembleTracker.processConfigData(EnsembleTracker.java:200)
at org.apache.curator.framework.imps.EnsembleTracker.access$300(EnsembleTracker.java:50) at
org.apache.curator.framework.imps.EnsembleTracker$2.processResult(EnsembleTracker.java:144)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:865)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:635)
at org.apache.curator.framework.imps.WatcherRemovalFacade.processBackgroundOperation(WatcherRemovalFacade.java:152)
at org.apache.curator.framework.imps.GetConfigBuilderImpl$2.processResult(GetConfigBuilderImpl.java:222)
at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:587) at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:499)
2019-08-21 14:24:30.655 0.0.0.0:30901  INFO 45964     --- [e-1-EventThread] o.a.c.framework.imps.EnsembleTracker 
   : New config event received: {server.1=zookeeper-0.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181,
version=b00000000, server.3=zookeeper-2.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181,
server.2=zookeeper-1.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181}2019-08-21
14:24:30.656 0.0.0.0:30901 ERROR 45964     --- [e-1-EventThread] o.a.c.f.imps.CuratorFrameworkImpl 
      : Background exception was not retry-able or retry gave up
java.lang.NullPointerException: null at org.apache.curator.framework.imps.EnsembleTracker.configToConnectionString(EnsembleTracker.java:179)
at org.apache.curator.framework.imps.EnsembleTracker.processConfigData(EnsembleTracker.java:200)
at org.apache.curator.framework.imps.EnsembleTracker.access$300(EnsembleTracker.java:50) at
org.apache.curator.framework.imps.EnsembleTracker$2.processResult(EnsembleTracker.java:144)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:865)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:635)
at org.apache.curator.framework.imps.WatcherRemovalFacade.processBackgroundOperation(WatcherRemovalFacade.java:152)
at org.apache.curator.framework.imps.GetConfigBuilderImpl$2.processResult(GetConfigBuilderImpl.java:222)
at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:587) at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:499)
{code}
 

    I use kubernates as registor,  envirment is spring boot 2.x and curator is 4.0.1(spring-cloud-starter-zookeeper-config), 
when i debug the project, curator framework throw NullPointerException.

    I debuged it , found EnsembleTracker.java(line 179) server.addr.getAddress() is null!
debug info can be found at attachment!

 

QuorumVerifier is 
{code:java}
server.1=zookeeper-0.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181
server.2=zookeeper-1.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181
server.3=zookeeper-2.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181
version=b00000000{code}
 

 

  was:
 

error log:
{code:java}
//err code is here
2019-08-21 14:24:30.654 0.0.0.0:30901  INFO 45964     --- [e-1-EventThread] org.apache.zookeeper.ClientCnxn 
        : EventThread shut down for session: 0x10072ab8a8001b12019-08-21 14:24:30.654
0.0.0.0:30901  INFO 45964     --- [e-1-EventThread] org.apache.zookeeper.ClientCnxn 
        : EventThread shut down for session: 0x10072ab8a8001b12019-08-21 14:24:30.655
0.0.0.0:30901 ERROR 45964     --- [e-1-EventThread] o.a.c.f.imps.CuratorFrameworkImpl 
      : Background exception was not retry-able or retry gave up
java.lang.NullPointerException: null at org.apache.curator.framework.imps.EnsembleTracker.configToConnectionString(EnsembleTracker.java:179)
at org.apache.curator.framework.imps.EnsembleTracker.processConfigData(EnsembleTracker.java:200)
at org.apache.curator.framework.imps.EnsembleTracker.access$300(EnsembleTracker.java:50) at
org.apache.curator.framework.imps.EnsembleTracker$2.processResult(EnsembleTracker.java:144)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:865)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:635)
at org.apache.curator.framework.imps.WatcherRemovalFacade.processBackgroundOperation(WatcherRemovalFacade.java:152)
at org.apache.curator.framework.imps.GetConfigBuilderImpl$2.processResult(GetConfigBuilderImpl.java:222)
at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:587) at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:499)
2019-08-21 14:24:30.655 0.0.0.0:30901  INFO 45964     --- [e-1-EventThread] o.a.c.framework.imps.EnsembleTracker 
   : New config event received: {server.1=zookeeper-0.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181,
version=b00000000, server.3=zookeeper-2.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181,
server.2=zookeeper-1.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181}2019-08-21
14:24:30.656 0.0.0.0:30901 ERROR 45964     --- [e-1-EventThread] o.a.c.f.imps.CuratorFrameworkImpl 
      : Background exception was not retry-able or retry gave up
java.lang.NullPointerException: null at org.apache.curator.framework.imps.EnsembleTracker.configToConnectionString(EnsembleTracker.java:179)
at org.apache.curator.framework.imps.EnsembleTracker.processConfigData(EnsembleTracker.java:200)
at org.apache.curator.framework.imps.EnsembleTracker.access$300(EnsembleTracker.java:50) at
org.apache.curator.framework.imps.EnsembleTracker$2.processResult(EnsembleTracker.java:144)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:865)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:635)
at org.apache.curator.framework.imps.WatcherRemovalFacade.processBackgroundOperation(WatcherRemovalFacade.java:152)
at org.apache.curator.framework.imps.GetConfigBuilderImpl$2.processResult(GetConfigBuilderImpl.java:222)
at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:587) at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:499)
{code}
 

    I use kubernates as registor,  envirment is spring boot 2.x and curator is 4.0.1(spring-cloud-starter-zookeeper-config), 
when i debug the project, curator framework throw NullPointerException.

    I debuged it , found EnsembleTracker.java(line 179) server.addr.getAddress() is null!
debug info can be found at attachment!

 

QuorumVerifier is 
{code:java}
server.1=zookeeper-0.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181
server.2=zookeeper-1.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181
server.3=zookeeper-2.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181
version=b00000000{code}
 

 

    how to resolve it, please help me!

 


> Background exception was not retry-able or retry gave up
> --------------------------------------------------------
>
>                 Key: CURATOR-538
>                 URL: https://issues.apache.org/jira/browse/CURATOR-538
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.0.1, 4.2.0
>            Reporter: imic
>            Priority: Critical
>         Attachments: 22.png
>
>
>  
> error log:
> {code:java}
> //err code is here
> 2019-08-21 14:24:30.654 0.0.0.0:30901  INFO 45964     --- [e-1-EventThread] org.apache.zookeeper.ClientCnxn 
        : EventThread shut down for session: 0x10072ab8a8001b12019-08-21 14:24:30.654
0.0.0.0:30901  INFO 45964     --- [e-1-EventThread] org.apache.zookeeper.ClientCnxn 
        : EventThread shut down for session: 0x10072ab8a8001b12019-08-21 14:24:30.655
0.0.0.0:30901 ERROR 45964     --- [e-1-EventThread] o.a.c.f.imps.CuratorFrameworkImpl 
      : Background exception was not retry-able or retry gave up
> java.lang.NullPointerException: null at org.apache.curator.framework.imps.EnsembleTracker.configToConnectionString(EnsembleTracker.java:179)
at org.apache.curator.framework.imps.EnsembleTracker.processConfigData(EnsembleTracker.java:200)
at org.apache.curator.framework.imps.EnsembleTracker.access$300(EnsembleTracker.java:50) at
org.apache.curator.framework.imps.EnsembleTracker$2.processResult(EnsembleTracker.java:144)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:865)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:635)
at org.apache.curator.framework.imps.WatcherRemovalFacade.processBackgroundOperation(WatcherRemovalFacade.java:152)
at org.apache.curator.framework.imps.GetConfigBuilderImpl$2.processResult(GetConfigBuilderImpl.java:222)
at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:587) at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:499)
> 2019-08-21 14:24:30.655 0.0.0.0:30901  INFO 45964     --- [e-1-EventThread] o.a.c.framework.imps.EnsembleTracker 
   : New config event received: {server.1=zookeeper-0.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181,
version=b00000000, server.3=zookeeper-2.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181,
server.2=zookeeper-1.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181}2019-08-21
14:24:30.656 0.0.0.0:30901 ERROR 45964     --- [e-1-EventThread] o.a.c.f.imps.CuratorFrameworkImpl 
      : Background exception was not retry-able or retry gave up
> java.lang.NullPointerException: null at org.apache.curator.framework.imps.EnsembleTracker.configToConnectionString(EnsembleTracker.java:179)
at org.apache.curator.framework.imps.EnsembleTracker.processConfigData(EnsembleTracker.java:200)
at org.apache.curator.framework.imps.EnsembleTracker.access$300(EnsembleTracker.java:50) at
org.apache.curator.framework.imps.EnsembleTracker$2.processResult(EnsembleTracker.java:144)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:865)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:635)
at org.apache.curator.framework.imps.WatcherRemovalFacade.processBackgroundOperation(WatcherRemovalFacade.java:152)
at org.apache.curator.framework.imps.GetConfigBuilderImpl$2.processResult(GetConfigBuilderImpl.java:222)
at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:587) at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:499)
> {code}
>  
>     I use kubernates as registor,  envirment is spring boot 2.x and curator is 4.0.1(spring-cloud-starter-zookeeper-config), 
when i debug the project, curator framework throw NullPointerException.
>     I debuged it , found EnsembleTracker.java(line 179) server.addr.getAddress() is
null! debug info can be found at attachment!
>  
> QuorumVerifier is 
> {code:java}
> server.1=zookeeper-0.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181
> server.2=zookeeper-1.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181
> server.3=zookeeper-2.zk-headless-service.default.svc.cluster.local:2888:3888:participant;0.0.0.0:2181
> version=b00000000{code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message