You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2017/12/04 22:20:00 UTC

[jira] [Commented] (ACCUMULO-4755) Register a custom serializer for AbstractId types (Table.ID and Namespace.ID)

    [ https://issues.apache.org/jira/browse/ACCUMULO-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16277640#comment-16277640 ] 

Christopher Tubbs commented on ACCUMULO-4755:
---------------------------------------------

[~bmfach], if you're interested, feel free to take a look. Your patch on the other issue was perfectly fine, but this might be better. I created a separate issue, so we could merge that one which got the job done, and only look at this if somebody has extra time and interest.

> Register a custom serializer for AbstractId types (Table.ID and Namespace.ID)
> -----------------------------------------------------------------------------
>
>                 Key: ACCUMULO-4755
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4755
>             Project: Accumulo
>          Issue Type: Task
>          Components: monitor
>            Reporter: Christopher Tubbs
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> As quick follow-on to ACCUMULO-4745, I think it might be worth taking a look at registering a custom serializer for AbstractId types, so we can keep a reference to the original Table.ID objects in the REST POJOs, and still have the serialization do the right thing.
> I found this wiki, which may be helpful.
> https://github.com/FasterXML/jackson-docs/wiki/JacksonHowToCustomSerializers



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)