Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce >> mail # dev >> What's the status of AspectJ files in branch-1?

Ravi Prakash 2012-05-07, 21:45
Konstantin Boudnik 2012-05-07, 22:47
Copy link to this message
Re: What's the status of AspectJ files in branch-1?
Thanks Cos!

I was able to run ant jar-system jar-test-system successfully with my
change. However, when I tried to run

ant test-system -Dhadoop.conf.dir.deployed=${HADOOP_CONF_DIR}

as mentioned in
https://wiki.apache.org/hadoop/HowToUseSystemTestFrameworkall the
streaming and gridmix tests had this error:
     java.lang.IllegalArgumentException: No Configuration passed for hadoop
home and hadoop conf directories

I tried setting -Dtest.system.hdrc.hadoopconfdir=<confDir>
-Dhadoop.conf.dir.deployed=<confdir> but the tests still failed.

I understand these are gridmix and streaming test failures, and may not be
directly related to the FI framework. But the dependency graph of
test-system is such that these tests are being run before FI tests and so
its failing before reaching FI tests. Are you able to run these
successfully, and if yes, how?

On Mon, May 7, 2012 at 5:47 PM, Konstantin Boudnik <[EMAIL PROTECTED]> wrote:

> Hi Ravi.
> You need to run Herriot build to make sure that everything is ok after your
> changes. The way to to it is as follows:
>    % ant jar-system jar-test-system
> this will perform the compilation of Hadoop binaries with weaved Herriot
> APIs.
> More information about Herriot can be found here
>  https://wiki.apache.org/hadoop/HowToUseSystemTestFramework
> Cos
> On Mon, May 07, 2012 at 04:45PM, Ravi Prakash wrote:
> > Hi folks,
> >
> > I'm patching changes to StatisticsCollector in
> > https://issues.apache.org/jira/browse/MAPREDUCE-4227 .
> >
> > A simple grep shows StatisticsCollector is also referenced in
> > src/test/system/aop/org/apache/hadoop/mapred/StatisticsCollectorAspect.aj
> > src/test/system/aop/org/apache/hadoop/mapred/JobTrackerAspect.aj
> >
> > How can I check whether my changes cause any issues or not in the
> AspectJ?
> > (tests?)
> >
> > Thanks
> > Ravi.
Konstantin Boudnik 2012-07-18, 04:49