Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1335 YAML based transformation catalog
  3. PM-1540

allow mount point regex to parse shell variable names

    XMLWordPrintable

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • master
    • master, 5.0.0
    • None
    • None

    Description

      for pegasus-tc-converter to convert to yam tc container mount points might have variable names listed. for the conversion purposes we don't expand variable names and currently regex fails
           # mount point in the container
           mount "/lizard/scratch-90-days/${TEST_NAME}:/existing/data"

      Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...
      2020.05.01 12:19:46.557 PDT: [FATAL ERROR]
       [1]: Unable to instantiate Transformation Catalog at edu.isi.pegasus.planner.catalog.transformation.TransformationFactory.loadInstance(TransformationFactory.java:164)
       [2]: edu.isi.pegasus.planner.catalog.transformation.impl.Text caught edu.isi.pegasus.planner.parser.ScannerException line 94: at edu.isi.pegasus.planner.parser.TransformationCatalogTextParser.parse(TransformationCatalogTextParser.java:219)
       [3]: Unable to parse mount /lizard/scratch-90-days/${TEST_NAME}:/existing/data at edu.isi.pegasus.planner.catalog.transformation.classes.Container$MountPoint.parse(Container.java:593)

      Attachments

        Activity

          People

            vahi Karan Vahi
            vahi Karan Vahi
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: