>I want to know how to export the jar package(like core, examples) to make
my own binary HAMA package, so I can debug the HAMA source code.

Make the changes in the Hama source code and run the mvn command. The
jar/binaries will be in the
dist/target/hama-dist-0.5.0-incubating-SNAPSHOT/hama-0.5.0-incubating-SNAPSHOT
folder. Or else `File -> Export -> Java -> JAR File` in Eclipse.

BTW, Hama also supports running in the `local mode` (1). You would be able
to debug and run within eclipse without building the Hama jar/binaries. I
think you won't be able to test all the features of Hama.

(1) http://incubator.apache.org/hama/getting_started_with_hama.html

Praveen

2012/4/9 胡月胜 <[email protected]>

> I have successful do the work you mentioned, I want to know how to export
> the jar package(like core, examples) to make my own binary HAMA package, so
> I can debug the HAMA source code.
>
> 2012/4/9 Praveen Sripati <[email protected]>
>
> > Hi,
> >
> > 1) Do a checkout of the code
> >
> > svn co https://svn.apache.org/repos/asf/incubator/hama/trunk/
> >
> > 2) Build Hama
> >
> > mvn install package -DskipTests
> > mvn eclipse:eclipse
> >
> > 3) Import the projects in Eclipse.
> >
> > File -> Import -> General -> Existing projects into Workspace.
> >
> > Praveen
> >
> > On Mon, Apr 9, 2012 at 4:50 PM, 胡月胜 <[email protected]> wrote:
> >
> > > Hi guys, I want to build the HAMA from the source code, now I:
> > >   1. Installed the maven on my computer;
> > >   2. Can import the project to Eclipse,
> > >   3. Export the jar package (core, example, graph and yarn) , but
> cannot
> > > run the hama ( The hadoop configuration and hama configuratino is
> > correct).
> > > I want to know:
> > >   1. How to export the jar package  from the eclipse;
> > >   2. Which version of eclipse that the developer is using?
> > >   3. If convient, can you tell me your build process?
> > >
> > > Thank you very much!
> > >
> >
>

Reply via email to