Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2261

AOP unit tests are not getting compiled or run

    Details

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The tests in src/test/aop are not getting compiled or run.

      1. HDFS-2261.000.patch
        147 kB
        Haohui Mai
      2. hdfs-2261.patch
        146 kB
        Karthik Kambatla

        Issue Links

          Activity

          Haohui Mai made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 2.8.0 [ 12329057 ]
          Hadoop Flags Reviewed [ 10343 ]
          Resolution Fixed [ 1 ]
          Haohui Mai made changes -
          Assignee Haohui Mai [ wheat9 ]
          Haohui Mai made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Haohui Mai made changes -
          Attachment HDFS-2261.000.patch [ 12771136 ]
          Masatake Iwasaki made changes -
          Link This issue relates to HDFS-7792 [ HDFS-7792 ]
          Karthik Kambatla (Inactive) made changes -
          Assignee Karthik Kambatla [ kkambatl ]
          Karthik Kambatla (Inactive) made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Karthik Kambatla (Inactive) made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 2.0.4-alpha [ 12324136 ]
          Target Version/s 2.0.5-beta [ 12324031 ]
          Karthik Kambatla (Inactive) made changes -
          Attachment hdfs-2261.patch [ 12582010 ]
          Karthik Kambatla (Inactive) made changes -
          Assignee Karthik Kambatla [ kkambatl ]
          Eli Collins made changes -
          Summary hdfs trunk is broken with -compile-fault-inject ant target AOP unit tests are not getting compiled or run
          Affects Version/s 2.0.0-alpha [ 12320353 ]
          Priority Major [ 3 ] Minor [ 4 ]
          Description
          -compile-fault-inject:
               [echo] Start weaving aspects in place
               [iajc] /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-trunk-Commit/trunk/src/java/org/apache/hadoop/hdfs/HftpFileSystem.java:269 [error] The method encodeQueryValue(String) is undefined for the type ServletUtil
               [iajc] ServletUtil.encodeQueryValue(ugi.getShortUserName()));
          ..........

            [iajc] /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-trunk-Commit/trunk/src/test/system/aop/org/apache/hadoop/hdfs/server/namenode/NameNodeAspect.aj:50 [warning] advice defined in org.apache.hadoop.hdfs.server.namenode.NameNodeAspect has not been applied [Xlint:adviceDidNotMatch]
               [iajc]
               [iajc] /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-trunk-Commit/trunk/src/test/system/aop/org/apache/hadoop/hdfs/server/datanode/DataNodeAspect.aj:43 [warning] advice defined in org.apache.hadoop.hdfs.server.datanode.DataNodeAspect has not been applied [Xlint:adviceDidNotMatch]
               [iajc]
               [iajc]
               [iajc] 18 errors, 4 warnings

          BUILD FAILED
          /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-trunk-Commit/trunk/src/test/aop/build/aop.xml:222: The following error occurred while executing this line:
          /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-trunk-Commit/trunk/src/test/aop/build/aop.xml:203: The following error occurred while executing this line:
          /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-trunk-Commit/trunk/src/test/aop/build/aop.xml:90: compile errors: 18
          The tests in src/test/aop are not getting compiled or run.
          Component/s test [ 12312916 ]
          Tsz Wo Nicholas Sze made changes -
          Field Original Value New Value
          Link This issue is duplicated by HDFS-2270 [ HDFS-2270 ]
          Giridharan Kesavan created issue -

            People

            • Assignee:
              Haohui Mai
              Reporter:
              Giridharan Kesavan
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development