abhishekagarwal87 opened a new pull request, #13217:
URL: https://github.com/apache/druid/pull/13217

   This typical error is seen when ingestion is writing intermediate data to a 
temporary file 
   
   ```
   java.io.IOException: No space left on device
        at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[?:?]
        at sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:62) 
~[?:?]
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113) ~[?:?]
        at sun.nio.ch.IOUtil.write(IOUtil.java:79) ~[?:?]
        at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:280) ~[?:?]
        at org.apache.druid.io.Channels.writeFully(Channels.java:32) ~[?:?]
        at 
org.apache.druid.segment.writeout.FileWriteOutBytes.flush(FileWriteOutBytes.java:62)
 ~[?:?]
        at 
org.apache.druid.segment.writeout.FileWriteOutBytes.flushIfNeeded(FileWriteOutBytes.java:54)
 ~[?:?]
        at 
org.apache.druid.segment.writeout.FileWriteOutBytes.write(FileWriteOutBytes.java:86)
 ~[?:?]
        at org.apache.druid.io.Channels.writeFully(Channels.java:32) ~[?:?]
   ```
   
   From this exception, it's hard to know how much data we were trying to write 
or what location we were exactly trying to write to. I added a bit of code to 
intercept this exception and add some more info to the outbound exception. 
   
   This PR has:
   
   - [ ] been self-reviewed.
   - [ ] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.
   


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