Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-649

Background exception was not retry-able or retry gave up

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2.0
    • 5.4.0
    • Client
    • None

    Description

      This is is probably a kind of reopen of CURATOR-538
      the case is we have 3 flink-nodes which under the hood using curator.
      Then just add one node and remove another one.
      After that some nodes start having NPE.

      java.lang.NullPointerException: null
      at org.apache.curator.utils.Compatibility.getHostAddress(Compatibility.java:116) 
      at org.apache.curator.framework.imps.EnsembleTracker.configToConnectionString(EnsembleTracker.java:185)
      at org.apache.curator.framework.imps.EnsembleTracker.processConfigData(EnsembleTracker.java:206) 
      at org.apache.curator.framework.imps.EnsembleTracker.access$300(EnsembleTracker.java:50)
      at org.apache.curator.framework.imps.EnsembleTracker$2.processResult(EnsembleTracker.java:150)
      at org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:926) 
      at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:683)
      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:598)
      at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:510) 
      

      We've got same issue and trace is very close it fails with NPE trying get Address
      the only difference is that it is trying to get Address at org.apache.curator.utils.Compatibility#getHostAddress
      at line

      return (address != null) ? address.getAddress().getHostAddress() : "unknown";
      

      We do not use telepresence mentioned in comments

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tison Zili Chen
            Sergey Nuyanzin Sergey Nuyanzin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment