Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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()
I can NOT checkout the trunk with the following errors:

First Try:
[tanghongwei@ga01 chukwa-0.5.0]$ svn co
http://svn.apache.org/viewcvs.cgi/incubator/chukwa/
svn: PROPFIND request failed on '/viewcvs.cgi/incubator/chukwa'
svn: PROPFIND of '/viewcvs.cgi/incubator/chukwa': 302 Found (
http://svn.apache.org)

2nd Try:
[tanghongwei@ga01 chukwa-0.5.0]$ svn co
http://svn.apache.org/viewvc/incubator/chukwa/trunk
svn: PROPFIND request failed on '/viewvc/incubator/chukwa/trunk'
svn: PROPFIND of '/viewvc/incubator/chukwa/trunk': 301 Moved (
http://svn.apache.org)

BUT, I can view the http://svn.apache.org/viewvc/incubator/chukwa/ URL with
Web Browser.

Tang Hongwei

2011/8/20 Hongwei Tang <[EMAIL PROTECTED]>

> 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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB