Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The "Hadoop2OnWindows" page has been changed by ArpitAgarwal: https://wiki.apache.org/hadoop/Hadoop2OnWindows?action=diff&rev1=1&rev2=2 * Git repository URL: git://git.apache.org/hadoop-common.git. After downloading the sources via git, switch to the stable 2.2 using '''''git checkout branch-2.2''''', or use the appropriate branch name if you are targeting a newer version. === Installing Dependencies and Setting up Environment for Building === - The [[https://svn.apache.org/viewvc/hadoop/common/branches/branch-2.2/BUILDING.txt?revision=1547143&view=markup|BUILDING.txt]] file in the root of the source tree has detailed information on the list of requirements and how to install them. It also includes information on setting up the environment and a few quirks. It is strongly recommended that you read [[https://svn.apache.org/viewvc/hadoop/common/branches/branch-2.2/BUILDING.txt?revision=1547143&view=markup|BUILDING.txt]] thoroughly. + The [[https://svn.apache.org/viewvc/hadoop/common/branches/branch-2/BUILDING.txt?view=markup|BUILDING.txt]] file in the root of the source tree has detailed information on the list of requirements and how to install them. It also includes information on setting up the environment and a few quirks. It is strongly recommended that you read [[https://svn.apache.org/viewvc/hadoop/common/branches/branch-2/BUILDING.txt?view=markup|BUILDING.txt]] thoroughly. === Building the Package === - To build a binary distribution run the following command '''''mvn package -Pdist,native,docs -DskipTests -Dtar''''' + To build a binary distribution run the following command '''''mvn package -Pdist,native-win -DskipTests -Dtar''''' + + This will generate a binary package under ''hadoop-dist\target\hadoop-2.2.2-SNAPSHOT.tar.gz''. === A few words on Native IO support === Hadoop includes optional Native IO support for Linux for performance. However Native IO is mandatory on Windows and without it you will not be able to get your installation working. It is mandatory that you follow the instructions from BUILDING.txt to download dependencies to build native libraries.
