hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paco NATHAN" <cet...@gmail.com>
Subject Re: walkthrough of developing first hadoop app from scratch
Date Sat, 22 Mar 2008 03:09:20 GMT
Hi Stephen,

Here's a sample Hadoop app which has its build based on Ant:

Look in the "jyte" directory.  A target called "prep.jar" simply uses
the <jar/> task in Ant to build a JAR for Hadoop to use.

Yeah, I agree that docs and discussions seem to lean more toward
systems engineering and are sparse about writing applications. A few
folks are trying to change that :)

On Fri, Mar 21, 2008 at 6:35 PM, Stephen J. Barr
<stevejb@u.washington.edu> wrote:
> Hello,
>  I am working on developing my first hadoop app from scratch. It is a
>  Monte-Carlo simulation, and I am using the PiEstimator code from the
>  examples as a reference. I believe I have what I want in a .java file.
>  However, I couldn't find any documentation on how to make that .java
>  file into a .jar that I could run, and I haven't found much
>  documentation that is hadoop specific.
>  Is it basically javac MyApp.java
>  jar -cf MyApp
>  or something to that effect, or is there more to it?
>  Thanks! Sorry for the newbie question.
>  -stephen barr

View raw message