Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-17928

Osgi Step Plugin could be missing when running job with kitchen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Urgent
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8.1.0 GA
    • Fix Version/s: 8.3.0 GA
    • Component/s: None
    • Labels:
    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Steps to Reproduce:
      Hide
      1. Dowload attache kjb and ktr to the same directory
      2. run plugin-missing.kjb repeatedly with kitchen. You'll probably need to do this with a script in order to repro the issue.
      3. you will intermittently get a Plugin Missing error for the Annotate Stream step.
      Show
      Dowload attache kjb and ktr to the same directory run plugin-missing.kjb repeatedly with kitchen. You'll probably need to do this with a script in order to repro the issue. you will intermittently get a Plugin Missing error for the Annotate Stream step.

      Description

      It seems Kitchen can start running a job before all of the Osgi step plugins have loaded. We need to figure out how to wait for that to complete or detect the scenario when we load a missing plugin and try again.

      I'm 99% confident this is a race because when I put in delay of 3 seconds as the first step in the job, I cannot reproduce the same issue.

      Originally found from ESR-6613, which uses JMS Consumer and Producer. Reproduces more easily with Annotate Stream, seemingly because Annotate Stream is further down the list than JMS when getting loaded.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mleite Margarida Leite
              Reporter:
              kwalker Kurtis Walker
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: