Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5131 Known issues with KRPC (IMPALA-2567)
  3. IMPALA-5795

BackendConfig::LookUpBackendDescriptor() may fail to look up non-executor coordinator

    XMLWordPrintableJSON

Details

    Description

      When we call LookUpBackendDescriptor() with a specific address, we always expect that we've stored the backend list for that host in the backend_map_:

      /// Return the list of backends on a particular host. The caller must make sure that the
      /// host is actually contained in backend_map_.
      const BackendList& GetBackendListForHost(const IpAddr& ip) const;
      

      However, for configuration with dedicated coordinator, a coordinator can be non-executor so it will not be found in backend_map_

      If that is the case, on debug binaries, this would trip up this DCHECK in GetBackendListForHost():
      https://github.com/michaelhkw/incubator-impala/blob/krpc/be/src/scheduling/backend-config.cc#L25

      On release binaries, it would hit a SEGFAULT here:
      https://github.com/michaelhkw/incubator-impala/blob/krpc/be/src/scheduling/backend-config.cc#L79

      This bug only exists on KRPC branch.

      Attachments

        Activity

          People

            kwho Michael Ho
            sailesh Sailesh Mukil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: