Apache Drill
  1. Apache Drill
  2. DRILL-996

Build - allow other versions of Hadoop to be specified on command-line

    Details

    • Type: Improvement Improvement
    • Status: In Progress
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: Tools, Build & Test
    • Labels:
      None

      Description

      Right now, in order to change the version of Hadoop that Drill is built against, you have to edit the POM. However, for automated build systems that build Drill against a variety of possible Hadoop versions, it would be much cleaner to be able to specify it on the command-line.

      1. DRILL-996.2.patch.txt
        5 kB
        Patrick Wong
      2. DRILL-996.1.patch.txt
        4 kB
        Patrick Wong

        Activity

        Hide
        Jason Altekruse added a comment -

        We need to discuss this more before implementing it if it is really needed. While there are a few places in the pom files where we are declaring the version numbers as maven properties/variables, these have been used to removed redundancy, not to enable custom versions to the passed on the command line. We have not historically supported multiple versions of any our dependencies at the same time. If we need to start doing this, I think all of the supported versions need to be included in a multi-phase build where all unit tests will be run against each configuration.

        Show
        Jason Altekruse added a comment - We need to discuss this more before implementing it if it is really needed. While there are a few places in the pom files where we are declaring the version numbers as maven properties/variables, these have been used to removed redundancy, not to enable custom versions to the passed on the command line. We have not historically supported multiple versions of any our dependencies at the same time. If we need to start doing this, I think all of the supported versions need to be included in a multi-phase build where all unit tests will be run against each configuration.
        Hide
        Patrick Wong added a comment -

        DRILL-996.2.patch.txt - Build - allow other versions of Hadoop to be specified on command-line

        Show
        Patrick Wong added a comment - DRILL-996 .2.patch.txt - Build - allow other versions of Hadoop to be specified on command-line
        Hide
        Patrick Wong added a comment -

        Need to make an updated patch

        Show
        Patrick Wong added a comment - Need to make an updated patch
        Hide
        Patrick Wong added a comment -
        Show
        Patrick Wong added a comment - Review request: https://reviews.apache.org/r/22661/
        Hide
        Patrick Wong added a comment -

        DRILL-996.1.patch.txt - Allow other versions of Hadoop to be specified on command-line

        Show
        Patrick Wong added a comment - DRILL-996 .1.patch.txt - Allow other versions of Hadoop to be specified on command-line

          People

          • Assignee:
            Patrick Wong
            Reporter:
            Patrick Wong
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development