Vihang Karajgaonkar has uploaded this change for review. ( 
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
components already contains a extracted tar ball of hive source. Due to
this every time the script is executes it downloads the hive source tar
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
---
M bin/bootstrap_toolchain.py
1 file changed, 10 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/19/13219/1
--
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: newchange
Gerrit-Change-Id: Ifd04a1a367a0cc4aa0a2b490a45fbc93a862c83a
Gerrit-Change-Number: 13219
Gerrit-PatchSet: 1
Gerrit-Owner: Vihang Karajgaonkar <[email protected]>
Gerrit-Reviewer: Fredy Wijaya <[email protected]>

Reply via email to