Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-2240

Fix toUpperCase/toLowerCase to use Locale.ENGLISH

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.4, 0.6.1
    • Component/s: None
    • Labels:
      None

      Description

      String#toLowerCase()/toUpperCase() without a locale argument can occur unexpected behavior based on the locale. It's written in Javadoc:

      For instance, "TITLE".toLowerCase() in a Turkish locale returns "t\u0131tle", where '\u0131' is the LATIN SMALL LETTER DOTLESS I character

      HADOOP-11602 is an issue to address this problem at the Hadoop side.

        Attachments

        1. TEZ-2240.1.patch
          4 kB
          Tsuyoshi Ozawa

          Activity

            People

            • Assignee:
              ozawa Tsuyoshi Ozawa
              Reporter:
              ozawa Tsuyoshi Ozawa
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: