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

Add a new ClusterMetrics.Option SERVERS_NAME to only return the live region servers's name without metrics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0, 2.3.0
    • None
    • None

    Description

      One of our production cluster ( which has 200000 regions) meet one protobuf exception when getClusterStatus.

       

      com.google.protobuf.InvalidProtocolBufferException: Protocol message was too large.  May be malicious.  Use CodedInputStream.setSizeLimit() to increase the size limit.
      

      And there are some client methods which call getClusterStatus but only need server names. Plan to add a new option which only to return server name. So we can reduce the influence scope even we meet this problem.

       

      Attachments

        1. HBASE-21938.master.002.patch
          14 kB
          Yi Mei
        2. HBASE-21938.master.001.patch
          15 kB
          Yi Mei

        Issue Links

          Activity

            People

              meiyi Yi Mei
              zghao Guanghao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: