accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Reardon (JIRA)" <>
Subject [jira] [Updated] (ACCUMULO-1005) Authorizations and ColumnVisibility API should not accept Charset param
Date Sat, 06 Apr 2013 21:47:15 GMT


Tim Reardon updated ACCUMULO-1005:

    Attachment: ACCUMULO-1005.patch

Patch is attached that removes Charset/encoding from Authorizations and ColumnVisibility.
All serialization is done using UTF-8. I also added a new multi-byte unit test for each class
to ensure nothing was broken.
> Authorizations and ColumnVisibility API should not accept Charset param
> -----------------------------------------------------------------------
>                 Key: ACCUMULO-1005
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>             Fix For: 1.5.0
>         Attachments: ACCUMULO-1005.patch
> The Charset parameter was added to the public API for ACCUMULO-241. However, this intermingles
internal serialization/comparison implementation, and the semantics of the public API.
> The Charset parameter effectively instructs Accumulo how to serialize the object. This
can break the comparison with what is stored in the table and is an unnecessary breakage.
> In the public API, we should only accept Strings, and allow any valid java String. Internally,
the serialization of these should consistently be UTF-8.

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:

View raw message