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

Li Lu commented on HADOOP-12831:
--------------------------------

Thanks. Sorry I missed one point just now, DataChecksum appears to be a little 
bit too general for this fix? 

Also, [[email protected]] would you mind to double check it to see if this is 
the proper fix? Thanks! 

> LocalFS/FSOutputSummer NPEs in constructor if bytes per checksum  set to 0
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-12831
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12831
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>            Assignee: Mingliang Liu
>            Priority: Minor
>         Attachments: HADOOP-12831.000.patch, HADOOP-12831.001.patch
>
>
> If you set the number of bytes per checksum to zero, 
> {code}    
> conf.setInt(LocalFileSystemConfigKeys.LOCAL_FS_BYTES_PER_CHECKSUM_KEY, 0)
> {code}
> then create a "file://" instance, you get to see a stack trace



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to