Hadoop Common
  1. Hadoop Common
  2. HADOOP-3450

Add tests to Local Directory Allocator for asserting their URI-returning capability

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.17.0
    • Fix Version/s: 2.0.2-alpha
    • Component/s: fs
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Original comment:

      Local directory allocator returns a bare path, without a URI specifier. This means that calling Path.getFileSystem will do the wrong thing with the returned path. Should really stick a "file://" in front.

      Also it's test cases need to be improved to make sure this class works fine.

      Only the latter needed to be done (see below for discussion).

      1. HADOOP-3450.txt
        3 kB
        Sho Shimauchi

        Activity

          People

          • Assignee:
            Sho Shimauchi
            Reporter:
            Ari Rabkin
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development