Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3952

Fix toolchain to download Maven from archive.apache.org instead of dlcdn.apache.org

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.1, 3.3.0
    • toolchain
    • None

    Description

      bigtop_toolchain tries to download Maven 3.6.x from dlcdn.apache.org, but those versions are no longer published:

      $ curl -L https://dlcdn.apache.org/maven/maven-3/?F=0
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
      <html>
       <head>
        <title>Index of /maven/maven-3</title>
       </head>
       <body>
      <h1>Index of /maven/maven-3</h1>
      <ul><li><a href="/maven/"> Parent Directory</a></li>
      <li><a href="3.8.8/"> 3.8.8/</a></li>
      <li><a href="3.9.2/"> 3.9.2/</a></li>
      </ul>
      </body></html>
      

      Therefore running toolchain fails as follows:

      $ git clone https://github.com/apache/bigtop.git
      $ cd bigtop
      $ sudo bigtop_toolchain/bin/puppetize.sh 
      $ ./gradlew toolchain
      
      ...
      
      Error: /usr/bin/wget https://dlcdn.apache.org//maven/maven-3//binaries/apache-maven--bin.tar.gz returned 8 instead of one of [0]
      Notice: /Stage[main]/Bigtop_toolchain::Maven/Exec[Download Maven binaries signature]: Dependency Exec[Download Maven binaries] has failures: true
      Notice: /Stage[main]/Bigtop_toolchain::Maven/Exec[Verify Maven binaries signature]: Dependency Exec[Download Maven binaries] has failures: true
      Notice: /Stage[main]/Bigtop_toolchain::Maven/Exec[Extract Maven binaries]: Dependency Exec[Download Maven binaries] has failures: true
      Error: /Stage[main]/Bigtop_toolchain::Maven/Exec[Download Maven binaries]/returns: change from notrun to 0 failed: /usr/bin/wget https://dlcdn.apache.org//maven/maven-3//binaries/apache-maven--bin.tar.gz returned 8 instead of one of [0]
      

      Upgrading Maven to 3.8.x probably works, but those versions also will be removed from dlcdn.apache.org someday, so I'd rather change the download site to archive.apache.org.

      Attachments

        Activity

          People

            sekikn Kengo Seki
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m