[ https://issues.apache.org/jira/browse/HBASE-7692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13583487#comment-13583487 ]
Nick Dimiduk commented on HBASE-7692: ------------------------------------- I can put the whole mess onto review board, but I think it's pretty easy to digest in the bite-sized [https://github.com/ndimiduk/hbase/commits/7692-ordered-serialization|commits on github}. Can it not be reviewed there? Whichever is easier for reviewers, I'd prefer to keep the comments in one place. > Add utility class to generate ordered byte[] serialization > ---------------------------------------------------------- > > Key: HBASE-7692 > URL: https://issues.apache.org/jira/browse/HBASE-7692 > Project: HBase > Issue Type: Improvement > Components: util > Reporter: Nick Dimiduk > Assignee: Nick Dimiduk > Attachments: HBASE-7692.v1.patch, HBASE-7692.v2.patch, > HBASE-7692.v3.patch > > > The current Bytes utility class works, but produces output that does not > maintain the native sort ordering of the input value. This results in, for > example, a negative value that does not necessarily sort before a positive > value. HBase should provide a canonical implementation of such a > serialization format so that third-parties can reliably build on top of > HBase. This will allow an implementation for HIVE-3634, HIVE-2599, or > HIVE-2903 that is compatible with similar features in Pig. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira