Philip Zeyliger has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/10460


Change subject: IMPALA-7051: Serialize Maven invocations.
......................................................................

IMPALA-7051: Serialize Maven invocations.

I've observed some rare cases where Impala fails to build. I believe
it's because two Maven targets (yarn-extras and ext-data-source) are
being executed simultaneously. Maven's handling of ~/.m2/repository,
for example, is known to be not safe.

This patch serializes the Maven builds with the following
dependency graph:
  fe -> yarn-extras -> ext-data-source -> impala-parent
The ordering of yarn-extras -> ext-data-source is arbitrary.

I decided that this artificial dependency was the clearest
way to prevent parallel executions. Having mvn-quiet.sh
take a lock seemed considerably more complex.

Change-Id: Ie24f34f421bc7dcf9140938464d43400da95275e
---
M common/yarn-extras/CMakeLists.txt
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/60/10460/1
--
To view, visit http://gerrit.cloudera.org:8080/10460
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie24f34f421bc7dcf9140938464d43400da95275e
Gerrit-Change-Number: 10460
Gerrit-PatchSet: 1
Gerrit-Owner: Philip Zeyliger <[email protected]>

Reply via email to