XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • build
    • 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
          5 kB
          Konstantin I Boudnik
        2. BIGTOP-2025.patch
          5 kB
          Konstantin I Boudnik
        3. BIGTOP-2025.patch
          4 kB
          Konstantin I Boudnik
        4. BIGTOP-2025.patch
          4 kB
          Konstantin I Boudnik
        5. BIGTOP-2025.patch
          4 kB
          Konstantin I Boudnik
        6. BIGTOP-2025.patch
          5 kB
          Konstantin I Boudnik
        7. BIGTOP-2025.patch
          3 kB
          Konstantin I Boudnik

        Issue Links

          Activity

            People

              cos Konstantin I Boudnik
              cos Konstantin I Boudnik
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: