hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12392) Writing striped file failed due to different cell size
Date Thu, 07 Sep 2017 21:34:01 GMT

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

Hudson commented on HDFS-12392:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12811 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/12811/])
HDFS-12392. Writing striped file failed due to different cell size. (kai.zheng: rev d7f27043ce034d69003b054dfe4f9e8e317ec543)
* (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSStripedOutputStream.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestErasureCodingPolicies.java


> Writing striped file failed due to different cell size
> ------------------------------------------------------
>
>                 Key: HDFS-12392
>                 URL: https://issues.apache.org/jira/browse/HDFS-12392
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: erasure-coding
>    Affects Versions: 3.0.0-alpha3
>            Reporter: SammiChen
>            Assignee: SammiChen
>              Labels: hdfs-ec-3.0-must-do
>             Fix For: 3.0.0-beta1
>
>         Attachments: HDFS-12392.001.patch, HDFS-12392.002.patch, HDFS-12392.003.patch
>
>
> Root cause: The buffer size returned by ElasticByteBufferPool.getBuffer() is more than
caller expected.
> Exception stack:
> org.apache.hadoop.HadoopIllegalArgumentException: Invalid buffer, not of length 4096
> 	at org.apache.hadoop.io.erasurecode.rawcoder.ByteBufferEncodingState.checkBuffers(ByteBufferEncodingState.java:99)
> 	at org.apache.hadoop.io.erasurecode.rawcoder.ByteBufferEncodingState.<init>(ByteBufferEncodingState.java:46)
> 	at org.apache.hadoop.io.erasurecode.rawcoder.RawErasureEncoder.encode(RawErasureEncoder.java:67)
> 	at org.apache.hadoop.hdfs.DFSStripedOutputStream.encode(DFSStripedOutputStream.java:368)
> 	at org.apache.hadoop.hdfs.DFSStripedOutputStream.writeParityCells(DFSStripedOutputStream.java:942)
> 	at org.apache.hadoop.hdfs.DFSStripedOutputStream.writeChunk(DFSStripedOutputStream.java:547)
> 	at org.apache.hadoop.fs.FSOutputSummer.writeChecksumChunks(FSOutputSummer.java:217)
> 	at org.apache.hadoop.fs.FSOutputSummer.write1(FSOutputSummer.java:125)
> 	at org.apache.hadoop.fs.FSOutputSummer.write(FSOutputSummer.java:111)
> 	at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.write(FSDataOutputStream.java:57)
> 	at java.io.DataOutputStream.write(DataOutputStream.java:107)
> 	at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:94)
> 	at org.apache.hadoop.hdfs.DFSTestUtil.writeFile(DFSTestUtil.java:834)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message