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

Fix REST Cluster constructor with String List

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.0.1, 1.1.0, 0.98.13, 1.1.1, 1.1.0.1
    • Fix Version/s: 1.2.0, 1.3.0, 1.1.4, 0.98.18, 2.0.0
    • Component/s: REST
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: