Quanlong Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18682


Change subject: IMPALA-11406: Fix incorrect duration log for authorization
......................................................................

IMPALA-11406: Fix incorrect duration log for authorization

IMPALA-8443 extends EventSequence.markEvent() to return the duration
between the last and the current event. However, the duration is
calculated using the start time, not the last time it's invoked, which
causes misleading time in logs of "Authorization check took n ms".

This fixes the bug and also adds a log for the analysis duration.

Change-Id: I8b665f1b4ac86577711598ce9d845cf82fedbcd7
---
M fe/src/main/java/org/apache/impala/analysis/AnalysisContext.java
M fe/src/main/java/org/apache/impala/util/EventSequence.java
2 files changed, 8 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/82/18682/1
--
To view, visit http://gerrit.cloudera.org:8080/18682
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8b665f1b4ac86577711598ce9d845cf82fedbcd7
Gerrit-Change-Number: 18682
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <[email protected]>

Reply via email to