Hive
  1. Hive
  2. HIVE-4530

Enforce minmum ant version required in build script

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: Build Infrastructure
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Check for supporting ant version in build script

      Description

      I observed that hive doesn't build with older versions of ant (I tried with 1.6.5). It would be a good idea to have the check in our build.xml.

        Activity

        Hide
        Arup Malakar added a comment -

        I have put the minimum ant version as 1.8.0 currently, but if it is known to work for any other old version I can tune the minimum version required.

        Review: https://reviews.apache.org/r/11031/

        Show
        Arup Malakar added a comment - I have put the minimum ant version as 1.8.0 currently, but if it is known to work for any other old version I can tune the minimum version required. Review: https://reviews.apache.org/r/11031/
        Hide
        Carl Steinbach added a comment -

        +1.

        In case anyone's curious 1.8.0 is the minimum version we can use because HCat's build depends on the "skipexisting" attribute of the "get" task which was added in Ant v1.8.0. We also have some code that depends on features added in 1.7.1.

        Show
        Carl Steinbach added a comment - +1. In case anyone's curious 1.8.0 is the minimum version we can use because HCat's build depends on the "skipexisting" attribute of the "get" task which was added in Ant v1.8.0. We also have some code that depends on features added in 1.7.1.
        Hide
        Carl Steinbach added a comment -

        Committed to trunk. Thanks Arup!

        Show
        Carl Steinbach added a comment - Committed to trunk. Thanks Arup!
        Hide
        Hudson added a comment -

        Integrated in Hive-trunk-h0.21 #2097 (See https://builds.apache.org/job/Hive-trunk-h0.21/2097/)
        HIVE-4530. Enforce minmum ant version required in build script (Arup Malakar via cws) (Revision 1481161)

        Result = FAILURE
        cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1481161
        Files :

        • /hive/trunk/build.xml
        Show
        Hudson added a comment - Integrated in Hive-trunk-h0.21 #2097 (See https://builds.apache.org/job/Hive-trunk-h0.21/2097/ ) HIVE-4530 . Enforce minmum ant version required in build script (Arup Malakar via cws) (Revision 1481161) Result = FAILURE cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1481161 Files : /hive/trunk/build.xml
        Hide
        Hudson added a comment -

        Integrated in Hive-trunk-hadoop2 #192 (See https://builds.apache.org/job/Hive-trunk-hadoop2/192/)
        HIVE-4530. Enforce minmum ant version required in build script (Arup Malakar via cws) (Revision 1481161)

        Result = FAILURE
        cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1481161
        Files :

        • /hive/trunk/build.xml
        Show
        Hudson added a comment - Integrated in Hive-trunk-hadoop2 #192 (See https://builds.apache.org/job/Hive-trunk-hadoop2/192/ ) HIVE-4530 . Enforce minmum ant version required in build script (Arup Malakar via cws) (Revision 1481161) Result = FAILURE cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1481161 Files : /hive/trunk/build.xml
        Hide
        Ashutosh Chauhan added a comment -

        This issue has been fixed and released as part of 0.12 release. If you find further issues, please create a new jira and link it to this one.

        Show
        Ashutosh Chauhan added a comment - This issue has been fixed and released as part of 0.12 release. If you find further issues, please create a new jira and link it to this one.

          People

          • Assignee:
            Arup Malakar
            Reporter:
            Arup Malakar
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development