Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12331

Installing Maven 3.9.2 at the start of a precommit build fails sometimes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 4.3.0
    • Impala 4.3.0
    • Infrastructure
    • None
    • ghx-label-1

    Description

      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:

      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

      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.

      Attachments

        Activity

          People

            laszlog Laszlo Gaal
            laszlog Laszlo Gaal
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: