[ 
https://issues.apache.org/jira/browse/HADOOP-3315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596012#action_12596012
 ] 

Enis Soztutar commented on HADOOP-3315:
---------------------------------------

We should not depend on keys/values being Writables in TFile, the API should be 
: 
{code}

public class TFile<K extends Comparable<K>, V> {
  public static class Writer<K extends Comparable<K>, V> {
     void append(K key, V value);
     Class<K> getKeyClass();
     ...
  }
  public static class Reader<K extends Comparable<K>, V> {
    V get(K key, V val) ;
    boolean next(K key, V val);
    ...
  }
}

{code}

> New binary file format
> ----------------------
>
>                 Key: HADOOP-3315
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3315
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: io
>            Reporter: Owen O'Malley
>            Assignee: Srikanth Kakani
>         Attachments: Tfile-1.pdf
>
>
> SequenceFile's block compression format is too complex and requires 4 codecs 
> to compress or decompress. It would be good to have a file format that only 
> needs 

-- 
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