Add Writable implementations for variable-length integer types.
---------------------------------------------------------------

                 Key: HADOOP-850
                 URL: http://issues.apache.org/jira/browse/HADOOP-850
             Project: Hadoop
          Issue Type: Improvement
          Components: io
    Affects Versions: 0.10.0
            Reporter: Andrzej Bialecki 
         Assigned To: Andrzej Bialecki 
            Priority: Minor
             Fix For: 0.10.0


Currently Hadoop supports only three basic integer-like types: ByteWritable, 
IntWritable and LongWritable. They provide a fixed tradeoff between their value 
range and on-disk space consumption. But it is sometimes useful to be able to 
store integer values with broader allowed range, but less space consumption 
when possible.

This is especially useful when storing very long series of  values, combined 
with delta encoding.

Lucene already implements variable-length encoding for positive int and long. I 
propose to add similar Writable implementations, which use the same encoding 
methods.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to