Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3029

FSDownload.unpack() uses local locale for FS case conversion, may not work everywhere

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: nodemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      FSDownload.unpack() lower-cases filenames in the local locale before looking at extensions for, "tar, "zip", ..

      String lowerDst = dst.getName().toLowerCase();
      

      it MUST use LOCALE_EN for the locale, else a file .ZIP won't be recognised as a zipfile in a turkish locale cluster

        Attachments

        1. YARN-3029.001.patch
          2 kB
          Varun Saxena
        2. YARN-3029.002.patch
          6 kB
          Varun Saxena
        3. YARN-3029-003.patch
          6 kB
          Tsuyoshi Ozawa

          Issue Links

            Activity

              People

              • Assignee:
                varun_saxena Varun Saxena
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: