Issue Details (XML | Word | Printable)

Key: HADOOP-3061
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andrzej Bialecki
Reporter: Andrzej Bialecki
Votes: 0
Watchers: 2
Operations

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

Writable for single byte and double

Created: 20/Mar/08 11:35 AM   Updated: 22/Aug/08 07:50 PM
Component/s: io
Affects Version/s: 0.17.0
Fix Version/s: 0.18.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works writable.patch 2008-03-20 11:36 AM Andrzej Bialecki 8 kB
Text File Licensed for inclusion in ASF works writable_v2.patch 2008-04-15 04:54 PM Alan Gates 7 kB

Hadoop Flags: Reviewed
Release Note: Introduced ByteWritable and DoubleWritable (implementing WritableComparable) implementations for Byte and Double.
Resolution Date: 23/Apr/08 08:43 PM


 Description  « Hide
Implementations of Writable for a single byte and a double.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Doug Cutting added a comment - 21/Mar/08 05:22 PM
readLong() and readFloat(), and readInt() should not be defined in FloatWritable, since they're already defined in WritableCompator. Other than that, this looks good.

Alan Gates added a comment - 15/Apr/08 04:53 PM
Here's the same patch with readDouble, readLong, and readInt removed from DoubleWritable, per Doug's comments.

Hadoop QA added a comment - 16/Apr/08 12:10 AM
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12380198/writable_v2.patch
against trunk revision 645773.

@author +1. The patch does not contain any @author tags.

tests included +1. The patch appears to include 3 new or modified tests.

javadoc +1. The javadoc tool did not generate any warning messages.

javac +1. The applied patch does not generate any new javac compiler warnings.

release audit +1. The applied patch does not generate any new release audit warnings.

findbugs +1. The patch does not introduce any new Findbugs warnings.

core tests +1. The patch passed core unit tests.

contrib tests +1. The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2243/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2243/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2243/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2243/console

This message is automatically generated.


Owen O'Malley added a comment - 23/Apr/08 08:43 PM
I just committed this. Thanks, Andrzej!

Hudson added a comment - 24/Apr/08 12:23 PM