Uploaded image for project: 'Kite SDK (READ-ONLY)'
  1. Kite SDK (READ-ONLY)
  2. KITE-290

solrCell morphline command fails with Tika RFC822Parser if log4j TRACE mode is enabled and multiple MIME parts are contained in the message

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.1, 0.9.0, 0.9.1, 0.10.0, 0.10.1
    • Fix Version/s: 0.11.0
    • Component/s: Morphlines Module
    • Labels:
      None

      Description

      Note that all four conditions must hold at the same time for the bug to materialize:

      • solrCell
      • RFC822Parser
      • log4j TRACE mode is enabled
      • multiple MIME parts are contained in the message

      The underlying reason is that the TRACE level logic is screwing up the counting of the multipart nesting levels.

      A work-around is to reduce the TRACE level to DEBUG or higher for the solrcell command in log4j.properties, like so:

      log4j.logger.org.kitesdk.morphline=TRACE
      log4j.logger.org.kitesdk.morphline.solrcell=DEBUG
      #log4j.logger.com.cloudera.cdk.morphline.solrcell=DEBUG
      

        Attachments

          Activity

            People

            • Assignee:
              whoschek Wolfgang Hoschek
              Reporter:
              whoschek Wolfgang Hoschek
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: