hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12831) LocalFS/FSOutputSummer NPEs in constructor if bytes per checksum set to 0
Date Tue, 23 Feb 2016 20:47:18 GMT

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

Mingliang Liu commented on HADOOP-12831:
----------------------------------------

How about remapping the implementation for file URIs *globally* by setting the property {{fs.file.impl}}
to the value {{org.apache.hadoop.fs.RawLocalFileSystem}}? It may be so heavy that it is useful
in few cases. p.s. I've never tried this before.

> 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
>            Priority: Minor
>
> 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)

Mime
View raw message