[ 
https://issues.apache.org/jira/browse/FLUME-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hari Shreedharan updated FLUME-1761:
------------------------------------

    Fix Version/s: v1.3.1
    
> FileChannel can NPE when log metadata file is empty
> ---------------------------------------------------
>
>                 Key: FLUME-1761
>                 URL: https://issues.apache.org/jira/browse/FLUME-1761
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v1.3.0
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>            Priority: Critical
>             Fix For: v1.3.1
>
>         Attachments: FLUME-1761-2.patch, FLUME-1761-3.patch
>
>
> Error:
> {noformat}
> java.lang.NullPointerException 
> at 
> org.apache.flume.channel.file.LogFileV3$SequentialReader.<init>(LogFileV3.java:288)
>  
> {noformat}
> ProtosFactory.LogFileMetaData.parseDelimitedFrom returns null if the the 
> first byte of the file cannot be read.

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