[
https://issues.apache.org/jira/browse/IMPALA-7051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948001#comment-16948001
]
ASF subversion and git services commented on IMPALA-7051:
---------------------------------------------------------
Commit 4c3f701204f92f8753cf65a97fe4804d1f77bc08 in impala's branch
refs/heads/master from Csaba Ringhofer
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=4c3f701 ]
IMPALA-9008: Serialize Maven invocations to deflake impala-minimal-hive-exec
Building impala-minimal-hive-exec was flaky (sometimes it failed
to download Guava 14.0.1), and my guess is that it is related to
downloading the same dependency in parallel with ext-data-source.
Similarly to the solution in IMPALA-7051, I try to fix it by
adding a fictional dependency (ext-data-source -> shaded-deps)
to serialize the build.
Full Maven dependency graph:
fe -> yarn-extras -> ext-data-source -> shaded-deps -> impala-parent
The ordering of yarn-extras, ext-data-source, and shaded-deps are
arbitrary.
Testing:
- I never reproduced the original flakiness, so I just hope
that it disappears with this change.
Change-Id: Ic951ad7313e5ad9add2a00e6a442c6e97f235967
Reviewed-on: http://gerrit.cloudera.org:8080/14372
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Concurrent Maven invocations can break build
> --------------------------------------------
>
> Key: IMPALA-7051
> URL: https://issues.apache.org/jira/browse/IMPALA-7051
> Project: IMPALA
> Issue Type: Task
> Components: Infrastructure
> Reporter: Philip Martin
> Assignee: Philip Martin
> Priority: Major
>
> Rarely I've seen our build fail when executing two Maven targets
> simultaneously. Maven isn't really safe for concurrent execution (e.g.,
> ~/.m2/repository has no locking).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]