Alex Behm has posted comments on this change. ( http://gerrit.cloudera.org:8080/9469 )
Change subject: IMPALA-6394: Restart HDFS when blocks are under replicated ...................................................................... Patch Set 3: (2 comments) http://gerrit.cloudera.org:8080/#/c/9469/3/testdata/bin/create-load-data.sh File testdata/bin/create-load-data.sh: http://gerrit.cloudera.org:8080/#/c/9469/3/testdata/bin/create-load-data.sh@462 PS3, Line 462: if [[ "$RESTART_COUNT" -eq "$MAX_RETRIES" ]] ; then We only enter the loop body when RESTART_COUNT < MAX_RETRIES, so this condition can never be satisfied. http://gerrit.cloudera.org:8080/#/c/9469/3/testdata/bin/create-load-data.sh@469 PS3, Line 469: ${IMPALA_HOME}/testdata/bin/run-mini-dfs.sh Let's echo a message that there are underreplicated blocks and that we will restart HDFS to try to resolve that issue. -- To view, visit http://gerrit.cloudera.org:8080/9469 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Iefd4c2fc6c287f054e385de52bdc42b0bdbd7915 Gerrit-Change-Number: 9469 Gerrit-PatchSet: 3 Gerrit-Owner: Tianyi Wang <tw...@cloudera.com> Gerrit-Reviewer: Alex Behm <alex.b...@cloudera.com> Gerrit-Reviewer: Lars Volker <l...@cloudera.com> Gerrit-Reviewer: Tianyi Wang <tw...@cloudera.com> Gerrit-Comment-Date: Tue, 06 Mar 2018 21:41:58 +0000 Gerrit-HasComments: Yes