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


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 50 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, 10 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/97/18597/1
--
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: newchange
Gerrit-Change-Id: I771b4b74e00d89a3cc85f26b8b1da66c3dd66304
Gerrit-Change-Number: 18597
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <[email protected]>

Reply via email to