Laszlo Gaal created IMPALA-12331:
------------------------------------
Summary: Installing Maven 3.9.2 at the start of a precommit build
fails sometimes
Key: IMPALA-12331
URL: https://issues.apache.org/jira/browse/IMPALA-12331
Project: IMPALA
Issue Type: Bug
Components: Infrastructure
Affects Versions: Impala 4.3.0
Reporter: Laszlo Gaal
Assignee: Laszlo Gaal
The installation of Maven 3.9.2 from {{bin/bootstrap_system.sh}} can sometimes
fail when the downloaded copy is symlinked into {{/usr/local/bin}}.
The error is:{code}
00:01:00.302 ++ sudo ln -s /usr/local/apache-maven-3.9.2/bin/mvn /usr/local/bin
00:01:00.305 ln: failed to create symbolic link '/usr/local/bin/mvn': File
exists{code}
caused probably by the worker node being reused for a second build.
{{ln}} should be invoked with the {{-f}} option here to suppress the existence
check.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)