[ 
https://issues.apache.org/jira/browse/FLUME-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463438#comment-13463438
 ] 

Hudson commented on FLUME-1599:
-------------------------------

Integrated in flume-trunk #309 (See 
[https://builds.apache.org/job/flume-trunk/309/])
    FLUME-1599. Improve FileChannel error messages and javadocs. (Revision 
e4950a6d4dfe937436399c4527db08e276474168)

     Result = SUCCESS
hshreedharan : 
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=e4950a6d4dfe937436399c4527db08e276474168
Files : 
* 
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannel.java
* 
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannelConfiguration.java
* 
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java

                
> FileChannel error message and documentation is stale
> ----------------------------------------------------
>
>                 Key: FLUME-1599
>                 URL: https://issues.apache.org/jira/browse/FLUME-1599
>             Project: Flume
>          Issue Type: Improvement
>          Components: Channel
>    Affects Versions: v1.2.0, v1.3.0
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>         Attachments: FLUME-1599-0.patch
>
>
> 1) Error message is bad.
> {noformat}
> 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]
> {noformat}
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to