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 Improvement
    • Status: Closed
    • Priority: Critical 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

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development