You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "sathish (JIRA)" <ji...@apache.org> on 2013/10/31 06:12:26 UTC

[jira] [Commented] (HADOOP-9114) After defined the dfs.checksum.type as the NULL, write file and hflush will through java.lang.ArrayIndexOutOfBoundsException

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

sathish commented on HADOOP-9114:
---------------------------------

The existing Patch is not applying to code due to compilation errors,the compilation error is due to not given written statement, I am attaching a new patch,with change of that error and a test case

> After defined the dfs.checksum.type as the NULL, write file and hflush will through java.lang.ArrayIndexOutOfBoundsException
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9114
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9114
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.0.1-alpha
>            Reporter: liuyang
>            Priority: Minor
>         Attachments: FSOutputSummer.java.patch, HADOOP-9114-001.patch
>
>
> when I test the characteristic parameter about dfs.checksum.type. The value can be defined as NULL,CRC32C,CRC32. It's ok when the value is CRC32C or CRC32, but the client will through java.lang.ArrayIndexOutOfBoundsException when the value is configured NULL.



--
This message was sent by Atlassian JIRA
(v6.1#6144)