Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-284

SensorParserConfig object cannot be serialized with the default Jackson ObjectMapper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Minor
    • Resolution: Done
    • None
    • 0.2.1BETA

    Description

      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) )

      Attachments

        Issue Links

          Activity

            People

              cestella Casey Stella
              rmerriman Ryan Merriman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: