[
https://issues.apache.org/jira/browse/HDFS-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085840#comment-13085840
]
Alejandro Abdelnur commented on HDFS-2261:
------------------------------------------
As mentioned in the dev alias:
----
AOP stuff is now wired yet in common Mavenization, the instrumented JAR is not
being created/deployed.
>From some of the messages, it seems related to that.
HDFS Mavenization (HDFS-2096), which has been +1, does not attempt to run AOP
stuff either, thus it would 'fix' this build failure for now. Later, when AOP
is wired to Mavenization the fault injection test would be back to the build.
At the moment, per Arun's request, we are holding on HDFS-2096 until
MAPREDUCE-279 goes in.
----
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.
> 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