[
https://issues.apache.org/jira/browse/HADOOP-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787611#action_12787611
]
Doug Cutting commented on HADOOP-6323:
--------------------------------------
I'd prefer we throw an exception rather than return null when a comparator is
not available. This will permit code that requires comparable objects to use
this API without having to worry about NullPointerExceptions or performing
extra checks.
> Serialization should provide comparators
> ----------------------------------------
>
> Key: HADOOP-6323
> URL: https://issues.apache.org/jira/browse/HADOOP-6323
> Project: Hadoop Common
> Issue Type: New Feature
> Components: io
> Reporter: Doug Cutting
> Assignee: Aaron Kimball
> Attachments: HADOOP-6323.2.patch, HADOOP-6323.patch
>
>
> The Serialization interface should permit one to create raw comparators.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.