hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "FAQ" by JimKellerman
Date Tue, 03 Jul 2007 00:36:59 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by JimKellerman:

The comment on the change is:
comments on building/testing on windows

    1. Java 1.5.x or higher, preferably from Sun
    2. Linux and Windows are the supported operating systems, but BSD and Mac OS/X are known
to work. (Windows requires the installation of [http://www.cygwin.com/ Cygwin]).
+ === 2.1 Building / Testing Hadoop on Windows ===
+ The Hadoop build on Windows can be run from inside a Windows (not cygwin) command prompt
+ Whether you set environment variables in a batch file or in System->Properties->Advanced->Environment
Variables, the following environment variables need to be set:
+ {{{
+ set ANT_HOME=c:\apache-ant-1.5.5
+ set JAVA_HOME=c:\jdk1.5.0_12
+ set PATH=%PATH%;%ANT_HOME%\bin
+ }}}
+ then open a command prompt window, cd to your workspace directory (in my case it is c:\workspace\hadoop)
and run ant. Since I am interested in running the contrib test cases I do the following:
+ {{{
+ ant -l build.log -Dtest.output=yes test-contrib
+ }}}
+ other targets work similarly. I just wanted to document this because I spent some time trying
to figure out why the ant build would not run from a cygwin command prompt window. If you
are building/testing on Windows, and haven't figured it out yet, this should get you started.
  == 3. How well does Hadoop scale? ==

View raw message