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

Configuration.getSocketAddr()/getEnum() should use getTrimmed()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-beta, 1.3.0, 3.0.0-alpha1
    • Fix Version/s: 2.7.0
    • Component/s: conf
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      YARN-1059 has shown that the hostname:port string used for the address of things like the RM isn't trimmed before its parsed, leading to errors that aren't that obvious.

      We should trim it -it's clearly not going to break any existing (valid) configurations

        Attachments

        1. HADOOP-9869.1.patch
          2 kB
          Tsuyoshi Ozawa
        2. HADOOP-9869.2.patch
          5 kB
          Tsuyoshi Ozawa
        3. HADOOP-9869.3.patch
          5 kB
          Tsuyoshi Ozawa
        4. HADOOP-9869.4.patch
          5 kB
          Tsuyoshi Ozawa

          Issue Links

            Activity

              People

              • Assignee:
                ozawa Tsuyoshi Ozawa
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: