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

conf.getBoolean must be case insensitive

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.18.2
    • 0.23.1
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment