metron-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (METRON-284) SensorParserConfig object cannot be serialized with the default Jackson ObjectMapper
Date Fri, 15 Jul 2016 17:07:20 GMT

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

ASF GitHub Bot commented on METRON-284:
---------------------------------------

Github user merrimanr commented on the issue:

    https://github.com/apache/incubator-metron/pull/184
  
    +1


> SensorParserConfig object cannot be serialized with the default Jackson ObjectMapper
> ------------------------------------------------------------------------------------
>
>                 Key: METRON-284
>                 URL: https://issues.apache.org/jira/browse/METRON-284
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Ryan Merriman
>            Priority: Minor
>             Fix For: 0.2.1BETA
>
>
> The SensorParserConfig object cannot be serialized without a custom Jackson ObjectMapper.
 Specifically, this is caused by the way the FieldTransformer is implemented.  A call to SensorParserConfig.toJSON()
will fail with this message if a transformer is configured:
> No serializer found for class org.apache.metron.common.field.transformation.MTLTransformation
and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message