Da Zheng 2010-12-31, 06:08
Ranjit Mathew 2011-01-03, 04:41
Konstantin Boudnik 2010-12-31, 06:36
Harsh J 2011-01-02, 20:46
Da Zheng 2011-01-01, 14:53
-Re: how to build hadoop in Linux
Ted Yu 2011-01-01, 15:31
For question #3, this should be helpful:
On Sat, Jan 1, 2011 at 6:53 AM, Da Zheng <[EMAIL PROTECTED]> wrote:
> Happy new year!
> Thanks. After applying the patch, I can compile the code with
> ant -Dforrest.home=/home/zhengda/apache-forrest-0.8 compile-core tar
> but there is still something unclear to me:
> first, how do I compile only the java code? it takes quite a while to
> hadoop with the command above.
> secondly, after I rebuild hadoop, I get some jar files such as
> hadoop-0.20.3-dev-core.jar under the directory of build/. How do I use
> them? do
> I need to move to some specific directory?
> thirdly, what arguments I can use in ant?
> On 12/31/10 1:36 AM, Konstantin Boudnik wrote:
> > The Java5 dependency is about to go from Hadoop. See HADOOP-7072. I
> > will try to commit it first thing next year. So, wait a couple of days
> > and you'll be all right.
> > Happy New Year everyone!
> > On Thu, Dec 30, 2010 at 22:08, Da Zheng <[EMAIL PROTECTED]> wrote:
> >> Hello,
> >> I need to build hadoop in Linux as I need to make some small changes in
> >> code, but I don't know what is the simplest way to build hadoop. I
> googled it
> >> and so far I only found two places that tell how to build hadoop. One is
> >> I downloaded apache forrest, and do as it
> >> ant -Djava5.home=/usr/lib/jvm/java-1.5.0-gcj-4.4/
> >> -Dforrest.home=/home/zhengda/apache-forrest-0.8 compile-core tar
> >> and get an error:
> >> [exec] BUILD FAILED
> >> [exec]
> >> java.lang.NullPointerException
> >> What does this error mean? it seems apache forrest is used to create
> >> document and I just want to rebuild hadoop java code. Is there a way for
> me to
> >> just rebuild java code? I ran "ant", it seems to work successfully, but
> I don't
> >> know if it really compiled the code.
> >> the other place I found is to show how to build hadoop with eclipse. I
> >> macbook and I have to ssh to linux boxes to work on hadoop, so it's not
> a very
> >> good option even if it can really work.
> >> Best,
> >> Da
Da Zheng 2011-01-01, 19:21
Ted Yu 2011-01-01, 19:26
Da Zheng 2011-01-01, 21:39