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

Hundson runs should check for AspectJ warnings and report failure if any is present

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.21.0
    • build
    • None
    • Reviewed

    Description

      When a code modifications break AspectJ bindings the following warning appears in the ant's build output:

           [echo] Start weaving aspects in place
           [iajc] warning at /Users/cos/work/branch-0.21/src/test/aop/org/apache/hadoop/hdfs/server/datanode/FSDatasetAspects.aj:55::0 advice defined in org.apache.hadoop.hdfs.server.datanode.FSDatasetAspects has not been applied [Xlint:adviceDidNotMatch]
           [echo] Weaving of aspects is finished
      

      Build process (in particular under Hudson) needs to check the output for such warnings and fail the build if any is present

      Attachments

        1. HADOOP-6326.patch
          2 kB
          Konstantin I Boudnik
        2. HADOOP-6326.patch
          2 kB
          Konstantin I Boudnik
        3. HADOOP-6326.patch
          1 kB
          Konstantin I Boudnik

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: