mcvsubbu commented on PR #10475:
URL: https://github.com/apache/pinot/pull/10475#issuecomment-1486006528

   > I found the issue by this CI test failure: 
https://github.com/apache/pinot/actions/runs/4514162615/jobs/7949914590
   > 
   > ```
   > Error:  
org.apache.pinot.integration.tests.ControllerPeriodicTasksIntegrationTest.tearDown
  Time elapsed: 16.339 s  <<< FAILURE!
   > java.lang.NullPointerException
   >    at 
org.apache.pinot.segment.local.io.readerwriter.RealtimeIndexOffHeapMemoryManager.close(RealtimeIndexOffHeapMemoryManager.java:109)
   >    at 
org.apache.pinot.segment.local.indexsegment.mutable.MutableSegmentImpl.destroy(MutableSegmentImpl.java:1114)
   >    at 
org.apache.pinot.core.data.manager.realtime.LLRealtimeSegmentDataManager.destroy(LLRealtimeSegmentDataManager.java:1247)
   >    at 
org.apache.pinot.core.data.manager.realtime.RealtimeTableDataManager.doShutdown(RealtimeTableDataManager.java:261)
   >    at 
org.apache.pinot.core.data.manager.BaseTableDataManager.shutDown(BaseTableDataManager.java:188)
   >    at 
org.apache.pinot.server.starter.helix.HelixInstanceDataManager.shutDown(HelixInstanceDataManager.java:158)
   > ```
   > 
   > This NPE is caused by 2 `destory()` happening at the same time, one clears 
the non-thread-safe list, the other one looping over it
   
   Thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to