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

False Recursion of Jobs claimed (endless loop detected when job names are identical with different paths)

    Details

    • Type: Bug
    • Status: Open
    • Severity: Low
    • Resolution: Unresolved
    • Affects Version/s: 4.4.0 GA (4.8.0 GA Suite Release)
    • Fix Version/s: Backlog
    • Component/s: Spoon / User Interface
    • Labels:
      None
    • 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.

      Description

      If I have a job TestRecursion.kjb with title TestJob and from this job I call JobLib/TestRecursion.job with title TestJob, Spoon claims I call recursive jobs from themselves, which off course I do not.

      The is rather annoying, as it means any JobTitle already used in a Job library must be avoided by any new job that may eventually call one of those jobs in a library.

        Activity

        Hide
        planbforopenoffice Kaj Kandler added a comment -

        The error it throws in detail

        2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : Error running job entry 'job' : org.pentaho.di.core.exception.KettleException:
        2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : Endless loop detected: A Job entry in this job called is calling itself.  The filename is [file:///C:/ImportExport-2.0-RC3/templates/export/Project-Export.kjb]
        2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.core.exception.KettleException:
        2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : Endless loop detected: A Job entry in this job called is calling itself.  The filename is [file:///C:/ImportExport-2.0-RC3/templates/export/Project-Export.kjb]
        2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.job.entries.job.JobEntryJob.verifyRecursiveExecution(JobEntryJob.java:992)
        2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.job.entries.job.JobEntryJob.execute(JobEntryJob.java:538)
        2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.job.Job.execute(Job.java:471)
        2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.job.Job.execute(Job.java:600)
        2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.job.Job.execute(Job.java:344)
        2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.job.Job.run(Job.java:282)
        2011/03/02 13:55:36 - Project-Export - Finished job entry [Project-Export] (result=[false])   
        Show
        planbforopenoffice Kaj Kandler added a comment - The error it throws in detail 2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : Error running job entry 'job' : org.pentaho.di.core.exception.KettleException: 2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : Endless loop detected: A Job entry in this job called is calling itself. The filename is [file:///C:/ImportExport-2.0-RC3/templates/export/Project-Export.kjb] 2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.core.exception.KettleException: 2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : Endless loop detected: A Job entry in this job called is calling itself. The filename is [file:///C:/ImportExport-2.0-RC3/templates/export/Project-Export.kjb] 2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.job.entries.job.JobEntryJob.verifyRecursiveExecution(JobEntryJob.java:992) 2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.job.entries.job.JobEntryJob.execute(JobEntryJob.java:538) 2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.job.Job.execute(Job.java:471) 2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.job.Job.execute(Job.java:600) 2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.job.Job.execute(Job.java:344) 2011/03/02 13:55:36 - Project-Export - ERROR (version 4.1.2, build 14776 from 2011-02-03 06.22.42 by anthony) : org.pentaho.di.job.Job.run(Job.java:282) 2011/03/02 13:55:36 - Project-Export - Finished job entry [Project-Export] (result=[false])
        Hide
        planbforopenoffice Kaj Kandler added a comment -

        It appears to me that PDI-5443 has the same root cause, namely that the identity of jobs is established on something that is not so unique, such as JobTitle.

        Show
        planbforopenoffice Kaj Kandler added a comment - It appears to me that PDI-5443 has the same root cause, namely that the identity of jobs is established on something that is not so unique, such as JobTitle.
        Hide
        mcasters Matt Casters added a comment -

        Having unique names for jobs, transforms etc is not a bad thing. Calling everything "Job" would be really annoying I guess.

        Show
        mcasters Matt Casters added a comment - Having unique names for jobs, transforms etc is not a bad thing. Calling everything "Job" would be really annoying I guess.
        Hide
        Former Triage User Old Triage User (Inactive) added a comment -

        If you are a Pentaho Subscription customer, you may contact support and request that this case be reviewed/re-prioritized.

        Show
        Former Triage User Old Triage User (Inactive) added a comment - If you are a Pentaho Subscription customer, you may contact support and request that this case be reviewed/re-prioritized.
        Hide
        tecronin Timothy E Cronin added a comment -

        when you consider a job name unique the whole path should be considered.

        i have different input source i process and each one has the same set of jobs so i have the following

        elt/input1/stage.kjb
        elt/input1/fact.kjb
        elt/input1/reports.kjb

        elt/input2/stage.kjb
        elt/input2/fact.kjb
        elt/input2/reports.kjb

        so the pathing creates a unique naming.

        Show
        tecronin Timothy E Cronin added a comment - when you consider a job name unique the whole path should be considered. i have different input source i process and each one has the same set of jobs so i have the following elt/input1/stage.kjb elt/input1/fact.kjb elt/input1/reports.kjb elt/input2/stage.kjb elt/input2/fact.kjb elt/input2/reports.kjb so the pathing creates a unique naming.

          People

          • Assignee:
            Unassigned
            Reporter:
            planbforopenoffice Kaj Kandler
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: