mjsax commented on a change in pull request #9380:
URL: https://github.com/apache/kafka/pull/9380#discussion_r501385372



##########
File path: 
streams/src/main/java/org/apache/kafka/streams/processor/internals/GlobalStateManagerImpl.java
##########
@@ -446,7 +446,9 @@ public void checkpoint() {
         try {
             checkpointFile.write(filteredOffsets);
         } catch (final IOException e) {
-            log.warn("Failed to write offset checkpoint file to {} for global 
stores: {}", checkpointFile, e);
+            log.warn("Failed to write offset checkpoint file to {} for global 
stores: {}." +
+                " This may occur if OS cleaned the state.dir in case when it 
located in /tmp directory." +
+                " You can change location for state.dir to resolve problem", 
checkpointFile, e);

Review comment:
       Do we _know_ that it will resolve the problem? Maybe better:
   ```
   Changing the location of state.dir may resolve the problem
   ```




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to