Hi, I'm trying to get involved and contribute to hadoop and have started by following various guides:
http://wiki.apache.org/hadoop/HowToContribute http://wiki.apache.org/hadoop/QwertyManiac/BuildingHadoopTrunk I have (to the best of my knowledge) a decent build environment (the *requirement* to have ant 1.7.1 installed could be made a little more visible on the "HowToContribute" page as it would have saved me a lot of time). I'm now down to one test failure: [junit] Test org.apache.hadoop.metrics2.impl.TestGangliaMetrics FAILED Testsuite: org.apache.hadoop.metrics2.impl.TestGangliaMetrics Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.225 sec ------------- Standard Output --------------- 2012-02-23 01:19:46,432 INFO impl.MetricsConfig (MetricsConfig.java:loadFirst(99)) - loaded properties from hadoop-metrics2-test.properties 2012-02-23 01:19:46,453 INFO impl.MetricsSourceAdapter (MetricsSourceAdapter.java:start(90)) - MBean for source MetricsSystem,sub=Stats registered. 2012-02-23 01:19:46,463 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:startTimer(303)) - Scheduled snapshot period at 10 second(s). 2012-02-23 01:19:46,463 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:start(155)) - Test metrics system started 2012-02-23 01:19:46,468 INFO impl.MetricsSourceAdapter (MetricsSourceAdapter.java:start(90)) - MBean for source s1 registered. 2012-02-23 01:19:46,487 INFO impl.MetricsSinkAdapter (MetricsSinkAdapter.java:start(175)) - Sink gsink30 started 2012-02-23 01:19:46,488 INFO impl.MetricsSinkAdapter (MetricsSinkAdapter.java:start(175)) - Sink gsink31 started 2012-02-23 01:19:46,494 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:stop(167)) - Stopping Test metrics system... 2012-02-23 01:19:46,495 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:stopSources(368)) - Stopping metrics source s1(org.apache.hadoop.metrics2.impl.TestGangliaMetrics$TestSource) 2012-02-23 01:19:46,495 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:stopSinks(379)) - Stopping metrics sink gsink30(org.apache.hadoop.metrics2.sink.ganglia.GangliaSink30) 2012-02-23 01:19:46,497 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:stopSinks(379)) - Stopping metrics sink gsink31(org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31) 2012-02-23 01:19:46,498 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:stop(173)) - Test metrics system stopped. ------------- ---------------- --------------- Testcase: testGangliaMetrics2 took 0.207 sec FAILED Missing metrics: test.s1rec.c1 junit.framework.AssertionFailedError: Missing metrics: test.s1rec.c1 at org.apache.hadoop.metrics2.impl.TestGangliaMetrics.checkMetrics(TestGangliaMetrics.java:98) at org.apache.hadoop.metrics2.impl.TestGangliaMetrics.testGangliaMetrics2(TestGangliaMetrics.java:77) Any ideas? Looking through the mailing lists, I'm not the only one with this particular failure but I've not seen a resolution. I've submitted a patch for MAPREDUCE-3807 even though I get this one failure as I get it with or without my patch applied. *Anyone that can take a look at that patch would be an absolute hero as it's my first and I'm eager for some feedback Thanks F_M http://hadoopadmin.blogspot.com/
