Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11659

Server network util of Statestored is much higher than impala-3.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.1.0, Impala 4.1.1
    • Impala 4.2.0
    • Perf Investigation
    • None

    Description

      We found that server network traffic of Statestored is rised immediatrly after upgraded to Impala-4.1. Using 'iftop' shows Statestored has aboud 6MB/s outbound network communication with every Impalad. With more than 250 nodes of Impalad, Statestored server has 10~15Gb/s(1~2GB/s) outbound(60x higher than it before upgrade) and about 90Mb/s(>10MB/s) inbound(10x higher than it before upgrade) network communication, which will occupy about 75% server network util. TCP packet snapshot shows detail of packet is 'Pool' and 'Stat' information in impala-request-queue topic. We found that value of key 'STAT:' contains per host stat of all Impalads. Related function is from https://issues.apache.org/jira/browse/IMPALA-8762. So initial update size of impala-request-queue is more than 4MB when there are more than 250 Impalads. If cluster has more Impalad, Statestored server may hang because of network blocking.

      I think coordinators updating topic of per host statistics is just fine. All Impalads(including coordinators and executors) registering subscriber to topic of impala-request-queue makes Statestored need to broadcast all per node statistics to all Impalads.

      Attachments

        1. image-2022-10-13-20-08-24-931.png
          121 kB
          Yuchen Fan
        2. image-2022-10-13-19-57-31-248.png
          52 kB
          Yuchen Fan
        3. image-2022-10-13-19-49-28-456.png
          142 kB
          Yuchen Fan

        Issue Links

          Activity

            People

              tangzhi Zhi Tang
              Yuchen Fan Yuchen Fan
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: