Hello, I have some issues on a realtime table, my ...
# troubleshooting
e
Hello, I have some issues on a realtime table, my segments are moved to OFFLINE because of a
java.lang.NullPointerException
:
Copy code
Mar 25 09:50:52 pinot-hosts-3 bash[11610]: 2021/03/25 09:50:52.405 ERROR [LLRealtimeSegmentDataManager_datasource_605b02ec0eb00003003bfc41__0__18__20210325T0855Z] [datasource_605b02ec0eb00003003bfc41__0__18__20210325T0855Z] Exception while in work
Mar 25 09:50:52 pinot-hosts-3 bash[11610]: java.lang.NullPointerException: null
Mar 25 09:50:52 pinot-hosts-3 bash[11610]:         at org.apache.pinot.core.data.manager.realtime.SegmentBuildTimeLeaseExtender.addSegment(SegmentBuildTimeLeaseExtender.java:100) ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-695ca390a8080409b3b76f250f2315b81b86b362]
Mar 25 09:50:52 pinot-hosts-3 bash[11610]:         at org.apache.pinot.core.data.manager.realtime.LLRealtimeSegmentDataManager.buildSegmentForCommit(LLRealtimeSegmentDataManager.java:698) ~[pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-695ca390a8080409b3b76f250f2315b81b86b362]
Mar 25 09:50:52 pinot-hosts-3 bash[11610]:         at org.apache.pinot.core.data.manager.realtime.LLRealtimeSegmentDataManager$PartitionConsumer.run(LLRealtimeSegmentDataManager.java:610) [pinot-all-0.7.0-jar-with-dependencies.jar:0.7.0-695ca390a8080409b3b76f250f2315b81b86b362]
Mar 25 09:50:52 pinot-hosts-3 bash[11610]:         at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
Do you have any idea on why this is happening? Thank you
j
Hi Valentin, did you delete a real-time table colocated on this server? There was a bug when a real-time table is deleted, and is fixed in this PR: https://github.com/apache/incubator-pinot/pull/6682
Upgrading to the latest master version or restarting the server can solve the issue
e
it work thank you
👍 1