Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-10200

Plugin class does not seem to be fully instantiated when a plugin endpoint method is invoked

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.3.2
    • Fix Version/s: 3.4.0
    • Component/s: Pipelines
    • Labels:
    • Rank:
      1|hzzag7:

      Description

      In particular, fields declared as:

      private final SimpleDateFormat sdfStrftime = new SimpleDateFormat("dd/MMM/yyyy:HH:mm:ss Z");
      

      seem to be null when a plugin endpoint method is invoked.

      To reproduce, add a plugin endpoint method to LogParserTransform, and try to access sdfStrftime

        Attachments

          Activity

            People

            • Assignee:
              shankar Shankar Selvam
              Reporter:
              bhooshan Bhooshan Mogal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: