Fredy Wijaya has posted comments on this change. ( http://gerrit.cloudera.org:8080/11099 )
Change subject: IMPALA-7381: Prevent build failure after switching to new CDH_BUILD_NUMBER ...................................................................... Patch Set 1: (1 comment) http://gerrit.cloudera.org:8080/#/c/11099/1/bin/clean.sh File bin/clean.sh: http://gerrit.cloudera.org:8080/#/c/11099/1/bin/clean.sh@81 PS1, Line 81: rm -rf ${IMPALA_HOME}/toolchain > We need to be careful here, because I think it is useful to be able to deve Removing toolchain/cdh_components is necessary to make sure the CDH components stay consistent with their Maven dependencies. For now, we can probably just delete toolchain/cdh_components and decide if in the future we need to also delete the whole toolchain directory? We can also push $CDH_BUILD_NUMBER into cdh_components but that may require more changes in other places. I'm okay either way though. mvn -U is something that Todd proposed in the mailing list that seems to work. It's pretty annoying that every time we bump the CDH_BUILD_NUMBER, we need to tell everyone to delete toolchain/cdh_components and run mvn -U to force the Maven cache and not to mention occasional build failures in Jenkins when the Maven cache isn't up-to-date. There's still another issue such as stale environment variables that we need to solve, but that's for another time I guess :) For development, I believe most people run their build with buildall.sh -noclean. So, the slow build shouldn't impact them. The changes should only impact when people do a clean build. -- To view, visit http://gerrit.cloudera.org:8080/11099 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ib0ad9c2258663d3bd7470e6df921041d1ca0c0be Gerrit-Change-Number: 11099 Gerrit-PatchSet: 1 Gerrit-Owner: Fredy Wijaya <[email protected]> Gerrit-Reviewer: Fredy Wijaya <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Philip Zeyliger <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-Comment-Date: Wed, 01 Aug 2018 18:19:06 +0000 Gerrit-HasComments: Yes
