Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1748

/inflight_query_ids returns "\n" when no queries are running

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.0.0
    • Fix Version/s: n/a
    • Component/s: impala
    • Labels:
      None

      Description

      Cloudera Manager Query Monitoring Status Check Keeps failing for all the impala daemons for Impala_kudu service.

      Cloudera support team did the analysis and here is more information,

      From the collected tcpdump, we see that the result returned by Impala daemon for the "inflight_query_ids" check made by cloudera-scm-agent is of length 1 character.

      ---------------------------
      GET /inflight_query_ids HTTP/1.1
      Accept-Encoding: identity
      Host: ebdp-avdc-d324p.sys.comcast.net:25000
      Connection: close
      User-Agent: Python-urllib/2.6

      HTTP/1.1 200 OK
      Content-Type: text/plain
      Content-Length: 1
      X-Frame-Options: DENY

      ---------------------------

      Hence 'inflight_query_ids' web call is returning '\n' if there are no queries in flight (as visible from capture), instead of the expected empty string. This causes Cloudera Manager agent query monitor call to fail.

      -------------------
      Could not obtain runtime profile: Query id 0:0 not found.
      -----------------

      Need the inflight_query_ids to return empty string instead of "\n"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              skpabba Shravan Pabba
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: