tez-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saikat (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (TEZ-2575) Handle KeyValue pairs size which do not fit in a single block
Date Fri, 03 Jul 2015 16:16:04 GMT

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

Saikat edited comment on TEZ-2575 at 7/3/15 4:16 PM:
-----------------------------------------------------

[~rajesh.balamohan] Thanks for adding the reset for final merge config. Should there not be
a similar reset in testWithPipelinedShuffle()?


was (Author: saikatr):
[~rajesh.balamohan] Thanks for adding the check. Should there not be a similar reset in testWithPipelinedShuffle()?

> Handle KeyValue pairs size which do not fit in a single block
> -------------------------------------------------------------
>
>                 Key: TEZ-2575
>                 URL: https://issues.apache.org/jira/browse/TEZ-2575
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Saikat
>            Assignee: Saikat
>         Attachments: TEZ-2575.1.patch, TEZ-2575.2.patch, TEZ-2575.3.patch, TEZ-2575.4.patch,
TEZ-2575.patch
>
>
> In the present implementation, the available buffer is divided into blocks (specified
in the constructor for pipeline sort). and a linked list of these block byte buffers is maintained.

> A span is created out of the buffers. 
> The present logic, doesnot handle scenario where a single key-value pair size doesnot
fit into any of the blocks.
> example if 1mb total memory is divided into 4 blocks, (256 kb each),
> if a single KV pair is greater than the blocksize(~ignoring meta data size), 
> then it fails with buffer exceptions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message