Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4515

conf.getBoolean must be case insensitive

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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

        Attachments

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

          Activity

            People

            • Assignee:
              sho.shimauchi Sho Shimauchi
              Reporter:
              abagri Abhijit Bagri
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: