Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14453

Split the maven modules into several profiles

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • build
    • None

    Description

      Current all the modules are defined at directly under <project>. As a result, we cannot select to build only some of the modules. We have to build all the modules in any cases and, unfortunately, it takes a long time.

      We propose split all the modules into multiple profiles so that we could build some of the modules by disabling some of the profiles. All the profiles are enabled by default so that all the modules will be built by default.

      For example, when we are making change in common. We could build and run tests under common by disabling hdfs, yarn, mapreduce, etc. modules. This will reduce the development time spend on compiling unrelated modules.

      Note that this is for local maven builds. We are not proposing to change Jenkins builds, which always build all the modules.

      Attachments

        1. c14453_20170524.patch
          2 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: