Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24305

Handle deprecations in ServerName

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-1
    • 3.0.0-alpha-1, 2.2.7, 2.4.3, 2.3.6
    • None
    • None
    • Incompatible change, Reviewed
    • Hide
      The following methods were removed or made private from ServerName (due to HBASE-17624):

      - getHostNameMinusDomain(String): Was made private without a replacement.
      - parseHostname(String): Use #valueOf(String) instead.
      - parsePort(String): Use #valueOf(String) instead.
      - parseStartcode(String): Use #valueOf(String) instead.
      - getServerName(String, int, long): Was made private. Use #valueOf(String, int, long) instead.
      - getServerName(String, long): Use #valueOf(String, long) instead.
      - getHostAndPort(): Use #getAddress() instead.
      - getServerStartcodeFromServerName(String): Use instance of ServerName to pull out start code)
      - getServerNameLessStartCode(String): Use #getAddress() instead.
      Show
      The following methods were removed or made private from ServerName (due to HBASE-17624 ): - getHostNameMinusDomain(String): Was made private without a replacement. - parseHostname(String): Use #valueOf(String) instead. - parsePort(String): Use #valueOf(String) instead. - parseStartcode(String): Use #valueOf(String) instead. - getServerName(String, int, long): Was made private. Use #valueOf(String, int, long) instead. - getServerName(String, long): Use #valueOf(String, long) instead. - getHostAndPort(): Use #getAddress() instead. - getServerStartcodeFromServerName(String): Use instance of ServerName to pull out start code) - getServerNameLessStartCode(String): Use #getAddress() instead.

    Description

      Some functions inĀ ServerName were deprecated in 2.0.0 and should be removedĀ for version 3.0.0.

      Attachments

        Issue Links

          Activity

            People

              janh Jan Hentschel
              janh Jan Hentschel
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: