[
https://issues.apache.org/jira/browse/HDFS-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085844#comment-13085844
]
Tom White commented on HDFS-2261:
---------------------------------
> One thing we could for the the fault injection is to move all of it to a
> hadoop-faultinjection module, by doing that we won't have to publish the
> instrumented artifacts.
+1 that would make it more self-contained and hopefully easier to maintain.
In the meantime, should we disable the fault injection tests in HDFS?
> hdfs trunk is broken with -compile-fault-inject ant target
> ----------------------------------------------------------
>
> Key: HDFS-2261
> URL: https://issues.apache.org/jira/browse/HDFS-2261
> Project: Hadoop HDFS
> Issue Type: Bug
> Environment:
> https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/834/console
> -compile-fault-inject ant target
> Reporter: Giridharan Kesavan
>
> -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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira