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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      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
          1 kB
          Konstantin Boudnik
        2. HADOOP-6326.patch
          2 kB
          Konstantin Boudnik
        3. HADOOP-6326.patch
          2 kB
          Konstantin Boudnik

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: