Issue Details (XML | Word | Printable)

Key: HADOOP-3414
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Arun C Murthy
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

Facility to query serializable types such as Writables for 'raw length'

Created: 19/May/08 08:46 AM   Updated: 20/May/08 04:09 PM
Return to search
Component/s: io
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
Currently we need to jump through hoops to get the 'raw length' of serializable types for e.g. SequenceFile.Writer.append needs to copy the key/value into a buffer and then check the buffer's size to figure the record/key/value lenghts. Obviously this can be improved to do away with the extra copy if we had types which could be queried for it's raw-length.

Thoughts?



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.