Hello Andrew Sherman, Riza Suminto, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/18597

to look at the new patch set (#2).

Change subject: IMPALA-11341: Print error log files when data-loading fails
......................................................................

IMPALA-11341: Print error log files when data-loading fails

run-step will print the last 50 lines of the log file when the step
fails. However, the data-loading log file just shows the log file names
of the failed sql files. We still need to manually look into them for
more details.

This patch extends run-step to also print the last 100 lines of such log
files.

Tested locally by stopping impala cluster to mimic an error state and
run these in my terminal:

source testdata/bin/run-step.sh
export LOG_DIR=tmp
run-step "Loading functional-query data" load-functional-query.log 
bin/load-data.py -e exhaustive -w functional-query

Change-Id: I771b4b74e00d89a3cc85f26b8b1da66c3dd66304
---
M testdata/bin/run-step.sh
1 file changed, 11 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/97/18597/2
--
To view, visit http://gerrit.cloudera.org:8080/18597
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I771b4b74e00d89a3cc85f26b8b1da66c3dd66304
Gerrit-Change-Number: 18597
Gerrit-PatchSet: 2
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Andrew Sherman <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>

Reply via email to