Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-168

handling of periodic_release and periodic_remove

XMLWordPrintable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • 2.4.3, 3.0, 3.0.1
    • Affects Version/s: 2.0, 2.2.0, 2.2.1, 2.3.0, 2.4.1, 2.4.3, 2.4.4, master, 3.0, 3.1
    • Component/s: Pegasus Planner
    • None

      the values for periodic_release and periodic_remove are treated as integers when specified as condor profile in pegasus

      The reason is that Pegasus automatically generates the following expression on the basis of the value

      eriodic_release = (NumSystemHolds <= value)
      periodic_remove = (NumSystemHolds > value)

      However, this precludes a user from specifying a more intelligent expression as a profile value for e.g

      User may want to set periodic_remove to (NumSystemHolds > 3) || (HoldReasonCode == 13)

      Pegasus will give this error while parsing "(NumSystemHolds > 3) ||
      (HoldReasonCode == 13)"

      2010.08.20 13:23:47.123 CDT: [FATAL ERROR]
      [1] java.lang.NumberFormatException: For input string:
      "(NumSystemHolds > 3) || (HoldReasonCode == 13)" at
      java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
      2010.08.20 13:23:47.123 CDT: [WARNING] Non-zero exit-code 1

            Assignee:
            vahi Karan Vahi
            Reporter:
            vahi Karan Vahi
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: