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

Fix REST Cluster constructor with String List

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0, 1.0.1, 1.1.0, 0.98.13, 1.1.1, 1.1.0.1
    • 1.2.0, 1.3.0, 1.1.4, 0.98.18, 2.0.0
    • REST
    • None

    Description

      The HBase REST Cluster which takes a list of hostname colon port numbers is not setting the internal list of nodes correctly.

      Existing method:

      public Cluster(List<String> nodes) {
      nodes.addAll(nodes)
      }

      Corrected method:

      public Cluster(List<String> nodes) {
      this.nodes.addAll(nodes)
      }

      Attachments

        1. HBASE-14192.patch
          0.9 kB
          Andrew Kyle Purtell

        Activity

          People

            apurtell Andrew Kyle Purtell
            rkellogg Richard Kellog Jr.
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: