[ https://issues.apache.org/jira/browse/HDFS-11006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949814#comment-15949814 ]
Xiaoyu Yao commented on HDFS-11006: ----------------------------------- [~anu], I have the same suggestion on restricting the maximum chunk size. Otherwise the ByteBuffer.allocate could easily OOM or cause protobuf/netty issues. > Ozone: support setting chunk size in streaming API > -------------------------------------------------- > > Key: HDFS-11006 > URL: https://issues.apache.org/jira/browse/HDFS-11006 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone > Affects Versions: HDFS-7240 > Reporter: Anu Engineer > Assignee: Yiqun Lin > Attachments: HDFS-11006-HDFS-7240.001.patch > > > Right now we have a hard coded chunk size, we should either have this read > from config or the user should be able to pass this to ChunkInputStream -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org