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

Upgrade bigtop toolchain ant version to 1.9.6

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: toolchain
    • Labels:
      None

      Description

        Activity

        Hide
        evans_ye Evans Ye added a comment -

        Great. Thanks for quickly resolving this.
        I've triggered the image upgrade and the ant installation are good:
        http://ci.bigtop.apache.org/view/Docker/
        Let's see how the packages go.

        Show
        evans_ye Evans Ye added a comment - Great. Thanks for quickly resolving this. I've triggered the image upgrade and the ant installation are good: http://ci.bigtop.apache.org/view/Docker/ Let's see how the packages go.
        Hide
        oflebbe Olaf Flebbe added a comment -

        I need this patch urgently... will apply it

        Show
        oflebbe Olaf Flebbe added a comment - I need this patch urgently... will apply it
        Hide
        oflebbe Olaf Flebbe added a comment -

        Hi Konstantin Boudnik and Evans Ye looks like there is no mirror of archive.apache.org. Will propose a patch

        Show
        oflebbe Olaf Flebbe added a comment - Hi Konstantin Boudnik and Evans Ye looks like there is no mirror of archive.apache.org. Will propose a patch
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user evans-ye closed the pull request at:

        https://github.com/apache/bigtop/pull/55

        Show
        githubbot ASF GitHub Bot added a comment - Github user evans-ye closed the pull request at: https://github.com/apache/bigtop/pull/55
        Hide
        evans_ye Evans Ye added a comment -

        OK. make sense, I'll try in that way.

        Show
        evans_ye Evans Ye added a comment - OK. make sense, I'll try in that way.
        Hide
        cos Konstantin Boudnik added a comment - - edited

        Using archives will guarantee that we don't experience the same issue next time Ant is released. It might be possible to use closer.cgi to find the closest mirror for the download even with archive, but you would need to use a call like this one
        bigtop_toolchain/manifests/deps.pp: $apache_prefix = nearest_apache_mirror()
        which we already use for Ant.

        Show
        cos Konstantin Boudnik added a comment - - edited Using archives will guarantee that we don't experience the same issue next time Ant is released. It might be possible to use closer.cgi to find the closest mirror for the download even with archive, but you would need to use a call like this one bigtop_toolchain/manifests/deps.pp: $apache_prefix = nearest_apache_mirror() which we already use for Ant.
        Hide
        evans_ye Evans Ye added a comment -

        I guess using that link we can't rely on the mirrors to speed up the download, or no?

        Show
        evans_ye Evans Ye added a comment - I guess using that link we can't rely on the mirrors to speed up the download, or no?
        Hide
        evans_ye Evans Ye added a comment -

        I guess using that link we can't rely on the mirrors to speed up the download, or no?

        Show
        evans_ye Evans Ye added a comment - I guess using that link we can't rely on the mirrors to speed up the download, or no?
        Hide
        oflebbe Olaf Flebbe added a comment - - edited

        He Evans Ye, while your patch surely works: Wouldn't it be wiser to download ant from an URL which is more stable ?

        https://archive.apache.org/dist/ant/binaries/

        seems to provide even older versions and seems not to break when the ant maintainers releases a new version.

        What do you think?

        Show
        oflebbe Olaf Flebbe added a comment - - edited He Evans Ye , while your patch surely works: Wouldn't it be wiser to download ant from an URL which is more stable ? https://archive.apache.org/dist/ant/binaries/ seems to provide even older versions and seems not to break when the ant maintainers releases a new version. What do you think?
        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user evans-ye opened a pull request:

        https://github.com/apache/bigtop/pull/55

        BIGTOP-2146. Upgrade bigtop toolchain ant version to 1.9.6

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/evans-ye/bigtop BIGTOP-2146

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/bigtop/pull/55.patch

        To close this pull request, make a commit to your master/trunk branch
        with (at least) the following in the commit message:

        This closes #55


        commit c409e2de579e898ccc862635c0d3d43b8c37db65
        Author: Evans Ye <evansye@apache.org>
        Date: 2015-11-14T10:22:18Z

        BIGTOP-2146. Upgrade bigtop toolchain ant version to 1.9.6


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user evans-ye opened a pull request: https://github.com/apache/bigtop/pull/55 BIGTOP-2146 . Upgrade bigtop toolchain ant version to 1.9.6 You can merge this pull request into a Git repository by running: $ git pull https://github.com/evans-ye/bigtop BIGTOP-2146 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/bigtop/pull/55.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #55 commit c409e2de579e898ccc862635c0d3d43b8c37db65 Author: Evans Ye <evansye@apache.org> Date: 2015-11-14T10:22:18Z BIGTOP-2146 . Upgrade bigtop toolchain ant version to 1.9.6
        Hide
        evans_ye Evans Ye added a comment -

        Tested on centos-6 and have zookeeper and pig built successfully with ant 1.9.6.

        Show
        evans_ye Evans Ye added a comment - Tested on centos-6 and have zookeeper and pig built successfully with ant 1.9.6.

          People

          • Assignee:
            oflebbe Olaf Flebbe
            Reporter:
            evans_ye Evans Ye
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development