impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Knupp (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-3971, IMPALA-3229: Bootstrap an Impala dev environment
Date Mon, 10 Oct 2016 20:54:23 GMT
David Knupp has posted comments on this change.

Change subject: IMPALA-3971, IMPALA-3229: Bootstrap an Impala dev environment

Patch Set 2:

File bin/

Line 20: # This script bootstraps a development environment from almost
So, this first comment may be a nit, but it would be nice to clarify why this script came
to be added.

We have a various scripts that float around /bin and /testdata/bin that sometimes seem to
have overlapping functions (e.g., there are multiple entry points for running tests), and
it's not always immediately clear why they all coexist.

This script consolidates some needed steps, such as cloning and running the chef setup, and
building Impala, but in so doing, it also makes implicit assumptions by hard-coding in the
command line args to for bypass the test warehouse snaphot, and running all tests
after the build process completes.

If nothing else, it might be nice to explicitly state who the intended users/audience for
this script might be, and why these assumptions are being made.

Line 31:     echo "${HOMEDIR} is needed for installing Impala dependencies"
This is really an artificial limitation/oversight of the chef scripts. Would it make sense
to revisit those first, rather than propagating it to another script?

PS2, Line 70: 999999
999999 was used as an arbitrarily large number in the original one-off Jenkins job. But maybe
there's a way to truly disable the max pytest failures, e.g., some tools do this by specifying
-1 for values like this?

PS2, Line 72: -skiptests
What is the difference between passing in --skiptests and then calling separately,
versus simply leaving off --skiptests?

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: If166a8a286d7559af547da39f6cc09e723f34c7e
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Jim Apple <>
Gerrit-Reviewer: David Knupp <>
Gerrit-Reviewer: Taras Bobrovytsky <>
Gerrit-HasComments: Yes

View raw message