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

For unknown query IDs, /query_profile_encoded?query_id=123 starts with an empty line

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.7.0
    • Fix Version/s: Impala 2.9.0
    • Component/s: Backend
    • Labels:
      None

      Description

      For unknown query IDs, /query_profile_encoded?query_id=123 starts with an empty line. However, it should print the error message on the first line. The behavior was changed in this change (#3779) for IMPALA-3918.

      To fix this, we should remove the newline after the ASF comment in www/raw_text.tmpl.

        Activity

        Hide
        lv Lars Volker added a comment -

        IMPALA-4751: Remove blank line from raw_text template

        The additional blank line can break tooling which uses the
        /query_profile_encoded endpoint and has been erroneously introduced in
        the fix for IMPALA-3918.

        Change-Id: I9b688aa9e2423b0271c8891a983e5b22707d8dbc
        Reviewed-on: http://gerrit.cloudera.org:8080/5664
        Reviewed-by: Jim Apple <jbapple-impala@apache.org>
        Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
        Tested-by: Impala Public Jenkins

        Show
        lv Lars Volker added a comment - IMPALA-4751 : Remove blank line from raw_text template The additional blank line can break tooling which uses the /query_profile_encoded endpoint and has been erroneously introduced in the fix for IMPALA-3918 . Change-Id: I9b688aa9e2423b0271c8891a983e5b22707d8dbc Reviewed-on: http://gerrit.cloudera.org:8080/5664 Reviewed-by: Jim Apple <jbapple-impala@apache.org> Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com> Tested-by: Impala Public Jenkins

          People

          • Assignee:
            lv Lars Volker
            Reporter:
            lv Lars Volker
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development