[email protected] has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18740
Change subject: IMPALA-11439: Add option to control whether prepopulate m2 directory or not. ...................................................................... IMPALA-11439: Add option to control whether prepopulate m2 directory or not. The bootstrap_system.sh will prepopulate the .m2 directory by downloading a 800M+ m2_archive.tar.gz to speed up the following maven packaging process, although it's not necessary. Meanwhile, due to different network environment, the download speed of the archive file is not necessarily fast. There add an environment variable 'PREPOPULATE_M2_REPOSITORY' to control whether to prepopulate the m2 directory or not, which is true by default. Testing: - manually run './bin/bootstrap_system.sh' and expect to see the log '>>> Populating m2 directory...' and 'Downloading m2 archive from ...', and the terminal returned for a while. - manually run 'PREPOPULATE_M2_REPOSITORY=true ./bin/bootstrap_system.sh' and expect to see the log '>>> Populating m2 directory...' and 'Downloading m2 archive from ...', and the terminal returned for a while. - manually run 'PREPOPULATE_M2_REPOSITORY=false ./bin/bootstrap_system.sh' and expect to see the log ">>> Skip populating m2 directory", and the terminal returned immediately. Change-Id: Ie3ac55099f326e2abe2f7dc66c08ad7023cb6baf --- M bin/bootstrap_system.sh 1 file changed, 7 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/40/18740/2 -- To view, visit http://gerrit.cloudera.org:8080/18740 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie3ac55099f326e2abe2f7dc66c08ad7023cb6baf Gerrit-Change-Number: 18740 Gerrit-PatchSet: 2 Gerrit-Owner: Anonymous Coward <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
