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

Todd Lipcon updated MAPREDUCE-5997:
-----------------------------------

    Attachment: mapreduce-5997.txt

Attached patch switches over to using the implementation in common.

This implementation doesn't provide a singleton, so I changed it to use a 
static instance inside InputBuffer. In order to do that, I also changed the 
"returnBuffer" call to happen in a new InputBuffer.close() method, and made 
InputBuffer implement Closeable. That'll make sure that findbugs properly warns 
if anyone uses InputBuffers without calling close()

> native-task: Use DirectBufferPool from Hadoop Common
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-5997
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5997
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: task
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: mapreduce-5997.txt
>
>
> The native task code has its own direct buffer pool, but Hadoop already has 
> an implementation. HADOOP-10882 will move that implementation into Common, 
> and this JIRA is to remove the duplicate code and use that one instead.



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

Reply via email to