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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0-beta, 1.3.0, 3.0.0-alpha1
    • 2.7.0
    • conf
    • None
    • 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.4.patch
          5 kB
          Tsuyoshi Ozawa
        2. HADOOP-9869.3.patch
          5 kB
          Tsuyoshi Ozawa
        3. HADOOP-9869.2.patch
          5 kB
          Tsuyoshi Ozawa
        4. HADOOP-9869.1.patch
          2 kB
          Tsuyoshi Ozawa

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: