hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-6476) o.a.h.io.Text - setCapacity does not shrink size
Date Tue, 29 Jul 2014 21:47:39 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer resolved HADOOP-6476.
--------------------------------------

    Resolution: Won't Fix

> o.a.h.io.Text - setCapacity does not shrink size 
> -------------------------------------------------
>
>                 Key: HADOOP-6476
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6476
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Karthik K
>         Attachments: HADOOP-6476.patch, HADOOP-6476.patch, HADOOP-6476.patch
>
>
> The internal byte array of o.a.h.io.Text does not shrink , if we set a capacity that
is less than the size of the internal byte array. 
> * If input length for setCapacity < length of byte array - then the byte array is
reset. 
> * Existing data is retained depending on if keepData variable is set. 
> * 4 new test cases added for various capacity sizes 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message