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

Owen O'Malley updated HADOOP-2425:
----------------------------------

    Attachment: text-out-format.patch

This patch changes:
  1. TextOutputFormat detects Text and writes the bytes directly to save 
encoding/decoding time.
  2. Saves the bytes for tab and newline.
  3. Treats NullWritable like null.

> TextOutputFormat should special case Text
> -----------------------------------------
>
>                 Key: HADOOP-2425
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2425
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: mapred
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 0.16.0
>
>         Attachments: text-out-format.patch
>
>
> TextOutputFormat is spending a noticeable amount of time encoding and then 
> decoding the bytes in Text objects before they are sent to the output. We 
> should handle this as a special case.

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

Reply via email to