You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jothi Padmanabhan (JIRA)" <ji...@apache.org> on 2009/09/01 11:33:33 UTC

[jira] Created: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Create a LimitedByteArrayOutputStream that does not expand its buffer on write
------------------------------------------------------------------------------

                 Key: HADOOP-6226
                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
             Project: Hadoop Common
          Issue Type: New Feature
            Reporter: Jothi Padmanabhan
            Assignee: Jothi Padmanabhan


For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan updated HADOOP-6226:
--------------------------------------

    Status: Patch Available  (was: Open)

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan updated HADOOP-6226:
--------------------------------------

    Status: Open  (was: Patch Available)

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750538#action_12750538 ] 

Hudson commented on HADOOP-6226:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #12 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/12/])
    Checking in the updated common jar that has the updates for  and HADOOP-6224.


> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750504#action_12750504 ] 

Hudson commented on HADOOP-6226:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #11 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/11/])
    Checking in the updated common jar that has the updates for  and HADOOP-6224.


> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750347#action_12750347 ] 

Hadoop QA commented on HADOOP-6226:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12418358/hadoop-6226-v3.patch
  against trunk revision 810384.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/10/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/10/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/10/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/10/console

This message is automatically generated.

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan updated HADOOP-6226:
--------------------------------------

    Status: Open  (was: Patch Available)

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750441#action_12750441 ] 

Devaraj Das commented on HADOOP-6226:
-------------------------------------

I committed the hadoop-core*.jar in both the mapreduce and the hdfs projects. The jars has the fixes for HADOOP-6224 and HADOOP-6226.

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hong Tang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750329#action_12750329 ] 

Hong Tang commented on HADOOP-6226:
-----------------------------------

@Jothi, thanks for taking time porting the class to io package and writing unit tests for it. Some comments for consideration:

- The comment of the test case refers to the class LimitedByteArrayOutputStream.
{code}
+/** Unit tests for LimitedByteArrayOutputStream */
{code}

- Should put some random contents in the input byte array. Something like the following (capitalize variable INPUT because it is now static final):
{code}
private static final byte[] INPUT = new byte[SIZE];
static {
    new Random().nextBytes(INPUT);
}
{code}

- Suggest to write only one byte to test whether an exception is thrown due to limit exceeded.

- Suggest to test that after reset() and writing INPUT, writing one more byte would cause an exception.

- Suggest to do reset(SIZE-1) instead of reset(SIZE/2).

- Suggest to add an assertion (getLimit() == SIZE) after reset() and (getLimit() == SIZE-1) after reset(SIZE-1).

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750394#action_12750394 ] 

Hudson commented on HADOOP-6226:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #8 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/8/])
    . Moves BoundedByteArrayOutputStream from the tfile package to the io package and makes it available to other users (MAPREDUCE-318). Contributed by Jothi Padmanabhan.


> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Devaraj Das updated HADOOP-6226:
--------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Jothi!

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan updated HADOOP-6226:
--------------------------------------

    Attachment: hadoop-6226-v1.patch

Fixed a typo in the java doc

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hong Tang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750012#action_12750012 ] 

Hong Tang commented on HADOOP-6226:
-----------------------------------

Actually, the same usage exists in TFile too. I wrote a class called BoundedByteArrayOutputStream which is package private. Might it be useful to promote to a public class in io package?

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan resolved HADOOP-6226.
---------------------------------------

    Resolution: Won't Fix

Actually, we will just take care of this inside the Shuffle package itself since the use case seems to be pretty specific

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan updated HADOOP-6226:
--------------------------------------

    Status: Patch Available  (was: Open)

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan updated HADOOP-6226:
--------------------------------------

    Attachment: hadoop-6226.patch

Straight forward patch.
I also added java doc for the public methods

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan updated HADOOP-6226:
--------------------------------------

    Attachment: hadoop-6226-v3.patch

@Hong, thanks for the review.

Attached a patch that incorporates the review comments

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750384#action_12750384 ] 

Hadoop QA commented on HADOOP-6226:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12418358/hadoop-6226-v3.patch
  against trunk revision 810384.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/2/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/2/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/2/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/2/console

This message is automatically generated.

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan updated HADOOP-6226:
--------------------------------------

    Status: Patch Available  (was: Open)

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan updated HADOOP-6226:
--------------------------------------

    Attachment: hadoop-6226-v2.patch

Patch that adds a test case as well

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Robert Chansler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Chansler updated HADOOP-6226:
------------------------------------

    Release Note: New LimitedByteArrayOutputStream does not expand buffer on writes.

Editorial pass over all release notes prior to publication of 0.21.

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750259#action_12750259 ] 

Jothi Padmanabhan commented on HADOOP-6226:
-------------------------------------------

Yes, the BoundedByteArrayOutputStream is exactly what we were planning to write too. I am +1 to making it as a public class in io.

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan reopened HADOOP-6226:
---------------------------------------


Reopening this jira to move BoundedByteArrayOutputStream from tfile Package to io package

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750437#action_12750437 ] 

Jothi Padmanabhan commented on HADOOP-6226:
-------------------------------------------

I ran all the Mapreduce and HDFS tests with this jar and they all passed

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750994#action_12750994 ] 

Hudson commented on HADOOP-6226:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #71 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/71/])
    Checking in the updated common jar that has the updates for  and HADOOP-6224.


> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hong Tang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750339#action_12750339 ] 

Hong Tang commented on HADOOP-6226:
-----------------------------------

The patch looks good. +1.

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750331#action_12750331 ] 

Hadoop QA commented on HADOOP-6226:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12418355/hadoop-6226-v2.patch
  against trunk revision 810384.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/9/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/9/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/9/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/9/console

This message is automatically generated.

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan updated HADOOP-6226:
--------------------------------------

        Fix Version/s: 0.21.0
    Affects Version/s: 0.20.0
               Status: Patch Available  (was: Reopened)

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750276#action_12750276 ] 

Hadoop QA commented on HADOOP-6226:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12418335/hadoop-6226.patch
  against trunk revision 810329.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 javadoc.  The javadoc tool appears to have generated 1 warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/6/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/6/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/6/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/6/console

This message is automatically generated.

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Jothi Padmanabhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jothi Padmanabhan updated HADOOP-6226:
--------------------------------------

    Status: Open  (was: Patch Available)

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750521#action_12750521 ] 

Hudson commented on HADOOP-6226:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #70 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/70/])
    Checking in the updated common jar that has the updates for  and HADOOP-6224.


> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750283#action_12750283 ] 

Hadoop QA commented on HADOOP-6226:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12418338/hadoop-6226-v1.patch
  against trunk revision 810329.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/7/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/7/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/7/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/7/console

This message is automatically generated.

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6226) Create a LimitedByteArrayOutputStream that does not expand its buffer on write

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750801#action_12750801 ] 

Hudson commented on HADOOP-6226:
--------------------------------

Integrated in Hdfs-Patch-h5.grid.sp2.yahoo.net #8 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/8/])
    

> Create a LimitedByteArrayOutputStream that does not expand its buffer on write
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-6226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6226
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6226-v1.patch, hadoop-6226-v2.patch, hadoop-6226-v3.patch, hadoop-6226.patch
>
>
> For MAPREDUCE-318, we would benefit from a ByteArrayOutputStream that would support a fixed size buffer that will not expand dynamically on writes. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.