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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • nodemanager
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: