Hadoop Common
  1. Hadoop Common
  2. HADOOP-4515

conf.getBoolean must be case insensitive

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.18.2
    • Fix Version/s: 0.23.1
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Currently, if xx is set to "TRUE", conf.getBoolean("xx", false) would return false.

      conf.getBoolean should do an equalsIgnoreCase() instead of equals()

      I am marking the change as incompatible because it does change semantics as pointed by Steve in HADOOP-4416

      1. HADOOP-4515.patch
        2 kB
        Sho Shimauchi
      2. HADOOP-4515.patch
        2 kB
        Sho Shimauchi

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development