Transformation that uses a regular file, but defines it in RC raises an exception, unlike in older versions

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • master, 4.9.0, 4.8.5
    • Affects Version/s: master, 4.8.4
    • Component/s: Pegasus Planner
    • None

      If transformation is like below,
      <transformation name="getSortedWords">
      <uses name="getSortedWords" executable="true"/>
      <uses name="io.sh" executable="true"/>
      <uses name="test.txt"/>
      </transformation>

      File test.txt is defined in RC like below,
      <file name="test.txt">
      <pfn url="file:///.../test.txt"/>
      </file>

      I get an exception like,
      [FATAL ERROR] java.lang.RuntimeException: There are no entries for the transformation "test.txt" in the TC
      at edu.isi.pegasus.planner.catalog.transformation.mapper.All.getSiteMap(All.java:106)
      at edu.isi.pegasus.planner.catalog.transformation.Mapper.getTCList(Mapper.java:175)
      at edu.isi.pegasus.planner.refiner.InterPoolEngine.handleFileTransfersForDependantExecutables(InterPoolEngine.java:633)
      at edu.isi.pegasus.planner.refiner.InterPoolEngine.handleExecutableFileTransfers(InterPoolEngine.java:506)
      at edu.isi.pegasus.planner.refiner.InterPoolEngine.scheduleJobs(InterPoolEngine.java:323)
      at edu.isi.pegasus.planner.refiner.InterPoolEngine.determineSites(InterPoolEngine.java:213)
      at edu.isi.pegasus.planner.refiner.MainEngine.runPlanner(MainEngine.java:187)
      at edu.isi.pegasus.planner.client.CPlanner.executeCommand(CPlanner.java:644)
      at edu.isi.pegasus.planner.client.CPlanner.executeCommand(CPlanner.java:365)
      at edu.isi.pegasus.planner.client.CPlanner.main(CPlanner.java:246)

            Assignee:
            Karan Vahi
            Reporter:
            Rajiv Mayani
            Archiver:
            Rajiv Mayani

              Created:
              Updated:
              Resolved:
              Archived: