Description
1) Error message is bad.
java.io.IOException: Failed to obtain lock for writing to the log. Try increasing the log write timeout value or disabling it by setting it to 0. [channel=fileChannel]
Setting that timeout to 0 actually disables the wait.
2) The comment below is stale. The direct memory stuff should be removed.
/**
- Maximum capacity of the channel. This number needs to be configured
- in line with -XX:MaxDirectMemorySize. {@link FileChannel}
- Default: 1,000,000 which will consume 8MB of direct memory
*/
3) The FileChannel javadoc message is wrong as well referencing DirectMemory stuff.
Attachments
Attachments
Issue Links
- supercedes
-
FLUME-1605 FileChannel capacity javadoc comment is wrong
- Resolved
- links to