Fang-Yu Rao has uploaded this change for review. ( http://gerrit.cloudera.org:8080/17386
Change subject: IMPALA-10694: Improve the error handling of setup-ranger ...................................................................... IMPALA-10694: Improve the error handling of setup-ranger This patch improves the error handling of setup-ranger where we initialize the Ranger policy repository according to which the authorization-related tests will be run. More precisely, after this patch, setup-ranger would return with exit code 1 when an HTTP request fails so that the pre-commit tests would stop during the execution of create-load-data.sh instead of continuing. This would help us detect the errors resulting from incorrect URLs earlier before any test is run. Testing: - Verified that setup-ranger could be successfully executed after this patch. - Verified that create-load-data.sh would exit if a URL in setup-ranger is not correctly set up. Change-Id: I45605d1a7441b734cf80249626638cde3adce28b --- M testdata/bin/create-load-data.sh 1 file changed, 45 insertions(+), 8 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/86/17386/1 -- To view, visit http://gerrit.cloudera.org:8080/17386 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I45605d1a7441b734cf80249626638cde3adce28b Gerrit-Change-Number: 17386 Gerrit-PatchSet: 1 Gerrit-Owner: Fang-Yu Rao <fangyu....@cloudera.com> Gerrit-Reviewer: Csaba Ringhofer <csringho...@cloudera.com> Gerrit-Reviewer: Fang-Yu Rao <fangyu....@cloudera.com> Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>