hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hadoop2OnWindows" by SteveLoughran
Date Tue, 19 Aug 2014 13:24:05 GMT
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 SteveLoughran:
https://wiki.apache.org/hadoop/Hadoop2OnWindows?action=diff&rev1=5&rev2=6

Comment:
move to Hadoop 2.5.0 and make some of the text more version-independent

  #pragma section-numbers 2
  
- = Build and Install Hadoop 2.2 or newer on Windows =
+ = Build and Install Hadoop 2.x or newer on Windows =
  
  == Introduction ==
  Hadoop version 2.2 onwards includes native support for Windows. The official Apache Hadoop
releases do not include Windows binaries (yet, as of January 2014). However building a Windows
package from the sources is fairly straightforward.
@@ -23, +23 @@

  Make sure that ''JAVA_HOME'' is set in your environment and does not contain any spaces.
If your default Java installation directory has spaces then you must use the [[https://en.wikipedia.org/wiki/8.3_filename|Windows
8.3 Pathname]] instead e.g. ''c:\Progra~1\Java\...'' instead of ''c:\Program Files\Java\...''.
  
  === Getting Hadoop sources ===
- The current stable release as of January 2014 is 2.2. The source distribution can be retrieved
from the ASF download server or using subversion or git.
+ The current stable release as of August 2014 is 2.5. The source distribution can be retrieved
from the ASF download server or using subversion or git.
   * From the [[http://mirrors.ibiblio.org/apache/hadoop/common/|ASF Hadoop download page]]
or a mirror.
-  * Subversion URL: ''https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.2''
+  * Subversion URL: ''https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.5''
-  * 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.
+  * Git repository URL: ''git://git.apache.org/hadoop-common.git''. After downloading the
sources via git, switch to the stable 2.5 using '''''git checkout branch-2.5''''', or use
the appropriate branch name if you are targeting a newer version.
  
  
  === Installing Dependencies and Setting up Environment for Building ===
@@ -42, +42 @@

  mvn package -Pdist,native-win -DskipTests -Dtar
  }}}
  
- Note that this command must be run from a ''Windows SDK command prompt'' as documented in
BUILDING.txt. A successful build generates a binary package ''hadoop-dist\target\hadoop-2.2.2-SNAPSHOT.tar.gz''.
+ Note that this command must be run from a ''Windows SDK command prompt'' as documented in
BUILDING.txt. A successful build generates a binary hadoop ''.tar.gz'' package in ''hadoop-dist\target\''.
  
  The Hadoop version is present in the package file name. If you are targeting a different
version then the package name will be different.
  
  === Installation ===
- Pick a target directory for installing the package. We use ''c:\deploy'' as an example.
Extract ''hadoop-2.2.2-SNAPSHOT.tar.gz'' under ''c:\deploy''. This will yield a directory
structure like the following. If installing a multi-node cluster, then repeat this step on
every node.
+ Pick a target directory for installing the package. We use ''c:\deploy'' as an example.
Extract the tar.gz file (e.g.''hadoop-2.5.0.tar.gz'') under ''c:\deploy''. This will yield
a directory structure like the following. If installing a multi-node cluster, then repeat
this step on every node.
  
  {{{
  C:\deploy>dir
@@ -248, +248 @@

  
  {{{
  %HADOOP_PREFIX%\bin\yarn jar %HADOOP_PREFIX%\share\hadoop\mapreduce\hadoop-mapreduce-example
- s-2.2.2-SNAPSHOT.jar wordcount /myfile.txt /out
+ s-2.5.0.jar wordcount /myfile.txt /out
  }}}
  
  ----

Mime
View raw message