cmccabe commented on pull request #11440:
URL: https://github.com/apache/kafka/pull/11440#issuecomment-955129597


   Here is an example of halt() being called from a junit test:
   ```
   java.lang.RuntimeException: TRIED TO CALL HALT
       at org.apache.kafka.common.utils.Exit$1.execute(Exit.java:42)
       at org.apache.kafka.common.utils.Exit.halt(Exit.java:100)
       at kafka.utils.Exit$.halt(Exit.scala:33)
       at kafka.log.LogManager.handleLogDirFailure(LogManager.scala:201)
       at 
kafka.server.ReplicaManager.handleLogDirFailure(ReplicaManager.scala:1922)
       at 
kafka.server.ReplicaManager$LogDirFailureHandler.doWork(ReplicaManager.scala:246)
       at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:96)
   ```


-- 
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]


Reply via email to