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

    • Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • master, 5.0.0
    • Affects Version/s: master
    • Component/s: None
    • None

      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

      1. 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)

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

              Created:
              Updated:
              Resolved: