[
https://issues.apache.org/jira/browse/HDDS-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shashikant Banerjee updated HDDS-322:
-------------------------------------
Description:
Currently, ChunkOutputStream allocate a chunk size buffer to cache client data.
The idea here is to allocate the buffer in ChunkGroupOutputStream and pass it
to underlying ChunkOutputStream so as to make reclaiming of the uncommitted
leftover data in the buffer and reallocating to next Block while handling
CLOSE_CONTAINER_EXCEPTION in ozone client becomes simpler. This Jira will also
add the code to close the underlying stream
This Jira will also modify the PutKey response to contain the committed block
length to ozone client to do some validation checks.
was:Currently, ChunkOutputStream allocate a chunk size buffer to cache client
data. The idea here is to allocate the buffer in ChunkGroupOutputStream and
pass it to underlying ChunkOutputStream so as to make reclaiming of the
uncommitted leftover data in the buffer and reallocating to next Block while
handling CLOSE_CONTAINER_EXCEPTION in ozone client becomes simpler. This Jira
will also modify the PutKey response to contain the committed block length to
ozone client to do some validation checks.
> Restructure ChunkGroupOutputStream and ChunkOutputStream
> --------------------------------------------------------
>
> Key: HDDS-322
> URL: https://issues.apache.org/jira/browse/HDDS-322
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Client
> Reporter: Shashikant Banerjee
> Assignee: Shashikant Banerjee
> Priority: Major
> Fix For: 0.2.1
>
>
> Currently, ChunkOutputStream allocate a chunk size buffer to cache client
> data. The idea here is to allocate the buffer in ChunkGroupOutputStream and
> pass it to underlying ChunkOutputStream so as to make reclaiming of the
> uncommitted leftover data in the buffer and reallocating to next Block while
> handling CLOSE_CONTAINER_EXCEPTION in ozone client becomes simpler. This
> Jira will also add the code to close the underlying stream
> This Jira will also modify the PutKey response to contain the committed block
> length to ozone client to do some validation checks.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]