Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/13219 )
Change subject: Fix redundant downloads of hive source tarball ...................................................................... Fix redundant downloads of hive source tarball Since CDP_BUILD_NUMBER was bumped to 1056671 the name of the hive source tarball changed. Not only the tar ball name was changed, the file it gets extracted to is also different from the tar file itself. Due to this the bootstrap_toolchain.py fails to check if the downloaded hive source component already exists and it downloads again unnecessarily. This patch improves bootstrap_toolchain.py to take non-standard tarfiles which extracts to a different directory name compared to the tar file. Testing done: 1. Removed the local toolchain and ran the script couple of times to make sure that it downloads the hive tar ball only once. Change-Id: Ifd04a1a367a0cc4aa0a2b490a45fbc93a862c83a Reviewed-on: http://gerrit.cloudera.org:8080/13219 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M bin/bootstrap_toolchain.py 1 file changed, 16 insertions(+), 10 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/13219 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ifd04a1a367a0cc4aa0a2b490a45fbc93a862c83a Gerrit-Change-Number: 13219 Gerrit-PatchSet: 8 Gerrit-Owner: Vihang Karajgaonkar <[email protected]> Gerrit-Reviewer: Fredy Wijaya <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-Reviewer: Vihang Karajgaonkar <[email protected]>
