hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3243) DoubleWritable
Date Mon, 14 Apr 2008 19:25:05 GMT

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

Doug Cutting updated HADOOP-3243:
---------------------------------

    Attachment: testfloat.patch

> Should it test write, read, equals, hash, comparator?

TestWritable has generic code that tests read, write and equals.  I've attached a patch that
adds a testFloat() case there.

Testing hashCode too would be good, and best added to TestWritable, but that should probably
be done in a separate issue, since it will probably uncover some classes that don't implement
hashCode but that use TestWritable.

TestWritable should also test the comparator for WritableComparables, but that should also
be in a separate issue.

> DoubleWritable
> --------------
>
>                 Key: HADOOP-3243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3243
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: io
>            Reporter: Karl Wettin
>            Priority: Minor
>         Attachments: HADOOP-3243.txt, testfloat.patch
>
>


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


Mime
View raw message