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

Switch to Threaded View
Chukwa, mail # user - chukwa-0.4.0 build failed: Log4JMetricsContext is not abstract and does not override abstract method getAllRecords()


Copy link to this message
-
Re: chukwa-0.4.0 build failed: Log4JMetricsContext is not abstract and does not override abstract method getAllRecords()
Hongwei Tang 2011-08-20, 12:52
Thanks! I will try with trunk.

Tang Hongwei
2011/8/19 Eric Yang <[EMAIL PROTECTED]>

> Chukwa 0.4 works with Hadoop 0.20.2 only.  Hadoop 0.20.203+ is only
> supported by trunk (0.5) version of Chukwa.
> Trunk version of Chukwa can be check out from svn:
>
> http://svn.apache.org/viewcvs.cgi/incubator/chukwa/
>
> The configuration instruction for Chukwa trunk is at:
>
> http://wiki.apache.org/hadoop/Chukwa_Quick_Start
>
> regards,
> Eric
>
> On Aug 18, 2011, at 6:24 PM, Hongwei Tang wrote:
>
> > I downloaded chukwa-0.4.0 from the
> http://labs.renren.com/apache-mirror//hadoop/chukwa/ mirror site.
> >
> > After set the configuration parameters in conf/*, I tried to build the
> whole system from source code using ant.
> >
> > I encountered the following error:
> >
> >     [javac]
> /home/tanghongwei/chukwa-0.4.0/src/java/org/apache/hadoop/chukwa/inputtools/log4j/Log4JMetricsContext.java:33:
> org.apache.hadoop.chukwa.inputtools.log4j.Log4JMetricsContext is not
> abstract and does not override abstract method getAllRecords() in
> org.apache.hadoop.metrics.MetricsContext
> >     [javac] public class Log4JMetricsContext extends
> AbstractMetricsContext {
> >     [javac]        ^
> >
> >
> > The full message is as follows:
> >
> > Buildfile: /home/tanghongwei/chukwa-0.4.0/build.xml
> >
> > ivy-init-properties-local:
> >
> > ivy-init-dirs-local:
> >
> > ivy-download-local:
> >       [get] Getting:
> http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0-rc1/ivy-2.1.0-rc1.jar
> >       [get] To: /home/tanghongwei/chukwa-0.4.0/ivy/ivy-2.1.0-rc1.jar
> >       [get] Not modified - so not downloaded
> >
> > ivy-probe-antlib-local:
> >
> > ivy-init-antlib-local:
> >
> > ivy-init-local:
> > [ivy:configure] :: Ivy 2.1.0-rc1 - 20090319213629 ::
> http://ant.apache.org/ivy/ ::
> > :: loading settings :: file > /home/tanghongwei/chukwa-0.4.0/ivy/ivysettings.xml
> >
> > ivy-resolve:
> > [ivy:resolve] :: resolving dependencies ::
> org.apache.hadoop.chukwa#chukwa;working@gb06
> > [ivy:resolve]   confs: [default, master, runtime, mandatory, jetty,
> commons-logging, common, releaseaudit, log4j, jdiff, javadoc]
> > [ivy:resolve]   found org.mortbay.jetty#jsp-api-2.1;6.1.11 in maven2
> > [ivy:resolve]   found org.mortbay.jetty#jsp-2.1;6.1.11 in maven2
> > [ivy:resolve]   found org.mortbay.jetty#servlet-api-2.5;6.1.11 in maven2
> > [ivy:resolve]   found org.eclipse.jdt#core;3.1.1 in maven2
> > [ivy:resolve]   found commons-fileupload#commons-fileupload;1.2 in maven2
> > [ivy:resolve]   found commons-httpclient#commons-httpclient;3.0.1 in
> maven2
> > [ivy:resolve]   found commons-io#commons-io;1.4 in maven2
> > [ivy:resolve]   found commons-logging#commons-logging;1.0.4 in maven2
> > [ivy:resolve]   found commons-codec#commons-codec;1.3 in maven2
> > [ivy:resolve]   found commons-logging#commons-logging-api;1.0.4 in maven2
> > [ivy:resolve]   found commons-net#commons-net;1.4.1 in maven2
> > [ivy:resolve]   found org.mortbay.jetty#jetty;6.1.11 in maven2
> > [ivy:resolve]   found org.mortbay.jetty#jetty-util;6.1.11 in maven2
> > [ivy:resolve]   found junit#junit;3.8.1 in maven2
> > [ivy:resolve]   found log4j#log4j;1.2.13 in maven2
> > [ivy:resolve]   found mysql#mysql-connector-java;5.1.6 in maven2
> > [ivy:resolve]   found commons-lang#commons-lang;2.4 in maven2
> > [ivy:resolve]   found commons-collections#commons-collections;3.1 in
> maven2
> > [ivy:resolve]   found net.sf.ezmorph#ezmorph;1.0.6 in maven2
> > [ivy:resolve]   found commons-beanutils#commons-beanutils;1.8.0 in maven2
> > [ivy:resolve]   found commons-logging#commons-logging;1.1.1 in maven2
> > [ivy:resolve]   found com.google.code.p.arat#rat-lib;0.5.1 in maven2
> > [ivy:resolve]   found commons-collections#commons-collections;3.2 in
> maven2
> > [ivy:resolve]   found commons-lang#commons-lang;2.1 in maven2
> > [ivy:resolve]   found jdiff#jdiff;1.0.9 in maven2
> > [ivy:resolve]   found xerces#xerces;1.4.4 in maven2
> > [ivy:resolve] :: resolution report :: resolve 832ms :: artifacts dl 57ms