Quantcast

How to build chukwa code

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to build chukwa code

Abhijit Dhar
This post was updated on .
I downloaded code from trunk and I want to build the code locally and import into eclipse.
Is there any documentation on it?

I'm trying to extend the HICC server(add some jsp pages) for my use  to search through logs on HBase

TIA
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to build chukwa code

Eric Yang-3
Hi TIA,

The build process should be straight forward:

ant tar

Getting started guide:

http://wiki.apache.org/hadoop/Chukwa_Quick_Start

regards,
Eric

On Sep 29, 2011, at 5:38 PM, Abhijit Dhar wrote:

> I downloaded code from trunk and I want to build the code locally.
> Is there any documentation on it?
>
> I'm trying to extend the HICC server(add some jsp pages) for my use  to
> search through logs on HBase
>
> TIA
>
> --
> View this message in context: http://apache-chukwa.679492.n3.nabble.com/How-to-build-chukwa-code-tp3380929p3380929.html
> Sent from the Chukwa - Users mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to build chukwa code

Abhijit Dhar
I get some compilation errors when I do that. It cannot find some classes. I'm running on cygwin. For example:

[javac] Compiling 29 source files to C:\jagundi\trunk\chukwa\build\classes
[javac] C:\jagundi\trunk\chukwa\src\java\org\apache\hadoop\chukwa\inputtools\log4j\Log4jMetricsSink.java:115: class, interface, or enum expected
[javac] package org.apache.hadoop.chukwa.inputtools.log4j;
[javac] ^


Also, there are build path errors when I import in eclipse.



On Thu, Sep 29, 2011 at 6:16 PM, Eric Yang <[hidden email]> wrote:
Hi TIA,

The build process should be straight forward:

ant tar

Getting started guide:

http://wiki.apache.org/hadoop/Chukwa_Quick_Start

regards,
Eric

On Sep 29, 2011, at 5:38 PM, Abhijit Dhar wrote:

> I downloaded code from trunk and I want to build the code locally.
> Is there any documentation on it?
>
> I'm trying to extend the HICC server(add some jsp pages) for my use  to
> search through logs on HBase
>
> TIA
>
> --
> View this message in context: http://apache-chukwa.679492.n3.nabble.com/How-to-build-chukwa-code-tp3380929p3380929.html
> Sent from the Chukwa - Users mailing list archive at Nabble.com.




--
Абижит Дар
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to build chukwa code

Eric Yang-3
I have not tried it with Cygwin, but the line 115 on
Log4jMetricsSink.java does not look like the output that you pasted.
What version of ant and java are you running?  I would recommend to
compile Chukwa on MacOSX or Linux only.

regards,
Eric

On Thu, Sep 29, 2011 at 6:34 PM, Abhijit Dhar <[hidden email]> wrote:

> I get some compilation errors when I do that. It cannot find some classes.
> I'm running on cygwin. For example:
> [javac] Compiling 29 source files to C:\jagundi\trunk\chukwa\build\classes
> [javac]
> C:\jagundi\trunk\chukwa\src\java\org\apache\hadoop\chukwa\inputtools\log4j\Log4jMetricsSink.java:115:
> class, interface, or enum expected
> [javac] package org.apache.hadoop.chukwa.inputtools.log4j;
> [javac] ^
>
> Also, there are build path errors when I import in eclipse.
>
>
> On Thu, Sep 29, 2011 at 6:16 PM, Eric Yang <[hidden email]> wrote:
>>
>> Hi TIA,
>>
>> The build process should be straight forward:
>>
>> ant tar
>>
>> Getting started guide:
>>
>> http://wiki.apache.org/hadoop/Chukwa_Quick_Start
>>
>> regards,
>> Eric
>>
>> On Sep 29, 2011, at 5:38 PM, Abhijit Dhar wrote:
>>
>> > I downloaded code from trunk and I want to build the code locally.
>> > Is there any documentation on it?
>> >
>> > I'm trying to extend the HICC server(add some jsp pages) for my use  to
>> > search through logs on HBase
>> >
>> > TIA
>> >
>> > --
>> > View this message in context:
>> > http://apache-chukwa.679492.n3.nabble.com/How-to-build-chukwa-code-tp3380929p3380929.html
>> > Sent from the Chukwa - Users mailing list archive at Nabble.com.
>>
>
>
>
> --
> Абижит Дар
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to build chukwa code

Abhijit Dhar
java version "1.6.0_21" (64 bit)
Apache Ant version 1.7.1

-Abhijit

On Thu, Sep 29, 2011 at 10:58 PM, Eric Yang <[hidden email]> wrote:
I have not tried it with Cygwin, but the line 115 on
Log4jMetricsSink.java does not look like the output that you pasted.
What version of ant and java are you running?  I would recommend to
compile Chukwa on MacOSX or Linux only.

regards,
Eric

On Thu, Sep 29, 2011 at 6:34 PM, Abhijit Dhar <[hidden email]> wrote:
> I get some compilation errors when I do that. It cannot find some classes.
> I'm running on cygwin. For example:
> [javac] Compiling 29 source files to C:\jagundi\trunk\chukwa\build\classes
> [javac]
> C:\jagundi\trunk\chukwa\src\java\org\apache\hadoop\chukwa\inputtools\log4j\Log4jMetricsSink.java:115:
> class, interface, or enum expected
> [javac] package org.apache.hadoop.chukwa.inputtools.log4j;
> [javac] ^
>
> Also, there are build path errors when I import in eclipse.
>
>
> On Thu, Sep 29, 2011 at 6:16 PM, Eric Yang <[hidden email]> wrote:
>>
>> Hi TIA,
>>
>> The build process should be straight forward:
>>
>> ant tar
>>
>> Getting started guide:
>>
>> http://wiki.apache.org/hadoop/Chukwa_Quick_Start
>>
>> regards,
>> Eric
>>
>> On Sep 29, 2011, at 5:38 PM, Abhijit Dhar wrote:
>>
>> > I downloaded code from trunk and I want to build the code locally.
>> > Is there any documentation on it?
>> >
>> > I'm trying to extend the HICC server(add some jsp pages) for my use  to
>> > search through logs on HBase
>> >
>> > TIA
>> >
>> > --
>> > View this message in context:
>> > http://apache-chukwa.679492.n3.nabble.com/How-to-build-chukwa-code-tp3380929p3380929.html
>> > Sent from the Chukwa - Users mailing list archive at Nabble.com.
>>
>
>
>
> --
> Абижит Дар
>



--
Абижит Дар
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to build chukwa code

Eric Yang-3
The software are the supported versions.  However, you might want to rename Log4jMetricsSink.java to another file and checkout the file from svn again.  It looks like either the file is corrupted, or Chukwa doesn't work on Cygwin.

regards,
Eric

On Sep 30, 2011, at 10:39 AM, Abhijit Dhar wrote:

> java version "1.6.0_21" (64 bit)
> Apache Ant version 1.7.1
>
> -Abhijit
>
> On Thu, Sep 29, 2011 at 10:58 PM, Eric Yang <[hidden email]> wrote:
> I have not tried it with Cygwin, but the line 115 on
> Log4jMetricsSink.java does not look like the output that you pasted.
> What version of ant and java are you running?  I would recommend to
> compile Chukwa on MacOSX or Linux only.
>
> regards,
> Eric
>
> On Thu, Sep 29, 2011 at 6:34 PM, Abhijit Dhar <[hidden email]> wrote:
> > I get some compilation errors when I do that. It cannot find some classes.
> > I'm running on cygwin. For example:
> > [javac] Compiling 29 source files to C:\jagundi\trunk\chukwa\build\classes
> > [javac]
> > C:\jagundi\trunk\chukwa\src\java\org\apache\hadoop\chukwa\inputtools\log4j\Log4jMetricsSink.java:115:
> > class, interface, or enum expected
> > [javac] package org.apache.hadoop.chukwa.inputtools.log4j;
> > [javac] ^
> >
> > Also, there are build path errors when I import in eclipse.
> >
> >
> > On Thu, Sep 29, 2011 at 6:16 PM, Eric Yang <[hidden email]> wrote:
> >>
> >> Hi TIA,
> >>
> >> The build process should be straight forward:
> >>
> >> ant tar
> >>
> >> Getting started guide:
> >>
> >> http://wiki.apache.org/hadoop/Chukwa_Quick_Start
> >>
> >> regards,
> >> Eric
> >>
> >> On Sep 29, 2011, at 5:38 PM, Abhijit Dhar wrote:
> >>
> >> > I downloaded code from trunk and I want to build the code locally.
> >> > Is there any documentation on it?
> >> >
> >> > I'm trying to extend the HICC server(add some jsp pages) for my use  to
> >> > search through logs on HBase
> >> >
> >> > TIA
> >> >
> >> > --
> >> > View this message in context:
> >> > http://apache-chukwa.679492.n3.nabble.com/How-to-build-chukwa-code-tp3380929p3380929.html
> >> > Sent from the Chukwa - Users mailing list archive at Nabble.com.
> >>
> >
> >
> >
> > --
> > Абижит Дар
> >
>
>
>
> --
> Абижит Дар

Loading...