Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/14702 )
Change subject: [mini-cluster] fix on building mini-cluster JAR ...................................................................... [mini-cluster] fix on building mini-cluster JAR Prior to this patch, build_mini_cluster_binaries.sh script didn't properly handle the case of running in the same workspace that was used to build the mini-cluster JAR for prior releases. That might result in not building the required JAR, so no binary content would be uploaded by running publish_mini_cluster_binaries.sh script later on. This patch fixes the issue: by default, the build directory is re-created upon every run of the build_mini_cluster_binaries.sh script unless MINI_CLUSTER_NO_FRESH_BUILD environment variable is set. Also, even if MINI_CLUSTER_NO_FRESH_BUILD is set and the build directory is not re-created, the script now warns on ambiguity when multiple artifact directories are present. Change-Id: Ic2d5c2a83e2a0ab959e2eb7898d47ab736cd1e1f Reviewed-on: http://gerrit.cloudera.org:8080/14702 Tested-by: Kudu Jenkins Reviewed-by: Adar Dembo <[email protected]> --- M build-support/mini-cluster/build_mini_cluster_binaries.sh 1 file changed, 18 insertions(+), 1 deletion(-) Approvals: Kudu Jenkins: Verified Adar Dembo: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/14702 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ic2d5c2a83e2a0ab959e2eb7898d47ab736cd1e1f Gerrit-Change-Number: 14702 Gerrit-PatchSet: 3 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
