Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4932 [Umbrella] YARN/MR test failures on Windows
  3. YARN-4928

Some yarn.server.timeline.* tests fail on Windows attempting to use a test root path containing a colon

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • test
    • None
    • OS: Windows Server 2012
      JDK: 1.7.0_79

    • Reviewed

    Description

      yarn.server.timeline.TestEntityGroupFSTimelineStore.* and yarn.server.timeline.TestLogInfo.* fail on Windows, because they are attempting to use a test root paths like "/C:/hdp/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timeline-pluginstorage/target/test-dir/TestLogInfo", which contains a ":" (after the Windows drive letter) and DFSUtil.isValidName() does not accept paths containing ":".

      This problem is identical to HDFS-6189, so I suggest to use the same approach: using "/tmp/..." as test root dir instead of System.getProperty("test.build.data", System.getProperty("java.io.tmpdir")).

      Attachments

        1. YARN-4928.006.patch
          13 kB
          Gergely Novák
        2. YARN-4928.005.patch
          13 kB
          Gergely Novák
        3. YARN-4928.004.patch
          13 kB
          Gergely Novák
        4. YARN-4928.003.patch
          13 kB
          Gergely Novák
        5. YARN-4928.002.patch
          12 kB
          Gergely Novák
        6. YARN-4928.001.patch
          2 kB
          Gergely Novák

        Activity

          People

            GergelyNovak Gergely Novák
            GergelyNovak Gergely Novák
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: