Impala Public Jenkins has submitted this change and it was merged. ( 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 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 Reviewed-on: http://gerrit.cloudera.org:8080/18597 Reviewed-by: Quanlong Huang <huangquanl...@gmail.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> --- M testdata/bin/run-step.sh 1 file changed, 11 insertions(+), 1 deletion(-) Approvals: Quanlong Huang: Looks good to me, approved Impala Public Jenkins: Verified -- 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: merged Gerrit-Change-Id: I771b4b74e00d89a3cc85f26b8b1da66c3dd66304 Gerrit-Change-Number: 18597 Gerrit-PatchSet: 3 Gerrit-Owner: Quanlong Huang <huangquanl...@gmail.com> Gerrit-Reviewer: Andrew Sherman <asher...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com> Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com>