impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Zeyliger (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-5940. Avoid log spew by using Status::Expected.
Date Tue, 19 Sep 2017 18:16:50 GMT
Philip Zeyliger has uploaded a new change for review.

Change subject: IMPALA-5940. Avoid log spew by using Status::Expected.

IMPALA-5940. Avoid log spew by using Status::Expected.

In IMPALA-5926, we fixed a case where closing the session triggered a
stack trace in the logs which impacted performance for short-running
queries. Looking at log files from several active clusters, I identified a few
other cases where we could clean up log spew with the same (trivial)

In practice, the expected messages here are saying that we don't support
codegen for the given file formats or data types. Because codegen
happens at every execution node, these messages are very common in the
log files.

The snippet I used to identify these was:

find . -type f -name '*IMPALAD*.gz' | xargs gzcat  | awk '/^I/ { if(x) { print x; } x = ""
} / { x=" "; } { if(x) { x=x  $0 } }'  | sed -e 's/0x[0-9a-fx]* //g' | sed -e 's/[0-9a-f]\{16\}:[0-9a-f]*/QUERYID/g'
|  tr -s '\t' ' ' | tr '[0-9]' 'N' | sort | uniq -c  | sort -n | tee output.txt

I also analyzed some logs using SQL, against a pre-processed logs table:

  with v as (
    select regexp_replace(
          translate(substr(message, 42), "\n\t", "  "),
        "@.*$", "@@@...") as m
    from logs_table where `class`="")
  select m, count(*) from v group by 1 order by 2 desc limit 100

* Automated tests.

Change-Id: I38088482377a1c3e794a9c8178ef83f29957a330
M be/src/exec/
M be/src/exec/
M be/src/exprs/
M be/src/runtime/
M be/src/util/
5 files changed, 7 insertions(+), 7 deletions(-)

  git pull ssh:// refs/changes/00/8100/1
To view, visit
To unsubscribe, visit

Gerrit-MessageType: newchange
Gerrit-Change-Id: I38088482377a1c3e794a9c8178ef83f29957a330
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Philip Zeyliger <>

View raw message