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
- duplicates
-
FLINK-28947 Curator framework fails with NullPointerException
- Closed
- is related to
-
CURATOR-538 Background exception was not retry-able or retry gave up
- Closed
-
CURATOR-597 Background exception was not retry-able or retry gave up
- Closed