Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: build
    • Labels:
      None

      Description

      It might be a good idea to be able to set up a dependencies between the components, so the build system is aware which parts should be build first, and the sequentially or in parallel.

      With new configuration DSL introduced in BIGTOP-1494 we can have a directional graph like this

          'hadoop' {
            name    = 'hadoop'
            relNotes = 'Apache Hadoop'
            version { base = '2.6.0'; pkg = base; release =1 }
            tarball { destination = "${name}-${version.base}.tar.gz"
                      source      = "${name}-${version.base}-src.tar.gz" }
            url     { site = "{apache.APACHE_MIRROR}/${download_path}"
                      archive = "{apache.APACHE_ARCHIVE}/${download_path}"
                      download_path = "/hadoop/common/$name-${version.base}" }
            dependencies { 'zookeeper'}
          }
      

      which will allow to collect all dependencies information cross components, build the graph and test it for loops. This information can be used by the build system to order the build process: if hadoop-deb is invoked it will automatically tries to build zookeeper; for hbase it will invoke hadoop build first, etc.

        Attachments

        1. BIGTOP-2025.patch
          3 kB
          Konstantin Boudnik
        2. BIGTOP-2025.patch
          5 kB
          Konstantin Boudnik
        3. BIGTOP-2025.patch
          4 kB
          Konstantin Boudnik
        4. BIGTOP-2025.patch
          4 kB
          Konstantin Boudnik
        5. BIGTOP-2025.patch
          4 kB
          Konstantin Boudnik
        6. BIGTOP-2025.patch
          5 kB
          Konstantin Boudnik
        7. BIGTOP-2025.patch
          5 kB
          Konstantin Boudnik

          Issue Links

            Activity

              People

              • Assignee:
                cos Konstantin Boudnik
                Reporter:
                cos Konstantin Boudnik
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: