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

submit directory creation . in certain cases the java jvm returns false on directory creation

XMLWordPrintable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • 2.4.3, 3.0
    • Affects Version/s: None
    • None
    • Environment:
      jvm on macosx , atlas cluster headnode , ligo cit

      It appears that certain versions of JAVA JVM have a bug whereby the function File.mkdirs() returns false if there is a . in the end in the directory that is to be created, and the parent directory does not exist.

      For e.g
      if /tmp exists and /tmp/notexist does not exist, then JVM returns false if you try to create a directory /tmp/notexist/.

      The attached TestFile illustrates this behavior.

      In case of Pegasus, the submit directory creation fails if the user specifies . to --relative-dir option as is the case in running ihope on LIGO data grid

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

              Created:
              Updated:
              Resolved: