Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by SuzanneMatthews: http://wiki.apache.org/hadoop/Running_Hadoop_On_OS_X_10%2e5_64-bit_%28Single-Node_Cluster%29 The comment on the change is: cleaned up links, formatting ------------------------------------------------------------------------------ #format wiki #language en - These instructions are for installing and running Hadoop on a OS X single node cluster (Mac Pro). This tutorial follows the same format and largely the same steps of the incredibly thorough and well-written tutorial by <a href="http://www.michael-noll.com/wiki/Running_Hadoop_On_Ubuntu_Linux_(Single-Node_Cluster)" target=_blank>Michael Noll</a> about Ubuntu cluster setup. This is pretty much his procedure with changes made for OS X users. I also added other things that I was able to piece together after looking up things from the <a href="http://hadoop.apache.org/core/docs/r0.17.2/quickstart.html" target=_blank>Hadoop Quickstart</a> and the <a href="http://www.nabble.com/Hadoop-lucene-users-f17067.html">forums/archives</a>. + These instructions are for installing and running Hadoop on a OS X single node cluster [http://www.apple.com/macpro/ MacPro]. This tutorial follows the same format and largely the same steps of the incredibly thorough and well-written tutorial by [http://www.michael-noll.com/ Michael Noll] about [http://www.michael-noll.com/wiki/Running_Hadoop_On_Ubuntu_Linux_(Single-Node_Cluster) Ubuntu Cluster Setup]. This is pretty much his procedure with changes made for OS X users. I also added other things that I was able to piece together after looking up things from the [http://hadoop.apache.org/core/docs/r0.17.2/quickstart.html Hadoop Quickstart] and the [http://www.nabble.com/Hadoop-lucene-users-f17067.html forums/archives]. == Step 1: Creating a designated hadoop user on your system == This isn't -entirely- necessary, but it's a good idea for security reasons. @@ -35, +35 @@ Before installing Hadoop, there are several things that you need make sure you have on your system. - 1. Java, and the latest version of the JDK + 1. Java, and the latest version of the JDK - 2. SSH + 2. SSH Because OS X is awesome, you actually don't have to install these things. However, you will have to enable and update what you have. Let's start with Java: @@ -56, +56 @@ Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing) }}} - You may want to update this to Java Sun 6, which is available as an update for OS X 10.5 (Update 1). It's currently only available for 64-bit machines though. You can download it <a href="http://www.apple.com/support/downloads/javaformacosx105update1.html">here</a>. + You may want to update this to Java Sun 6, which is available as an update for OS X 10.5 (Update 1). It's currently only available for 64-bit machines though. You can download it [http://www.apple.com/support/downloads/javaformacosx105update1.html here]. After you download and install the update, you are going to need to configure Java on your system so the default points to this new update. Go to: @@ -111, +111 @@ So this actually involves several smaller steps: - 1. Downloading and Unpacking Hadoop + 1. Downloading and Unpacking Hadoop - 2. Configuring Hadoop + 2. Configuring Hadoop After we finish these, you should be ready to go! So let's get started: === Downloading and Unpacking Hadoop === - <a href="http://hadoop.apache.org/core/releases.html" target=_blank>Download</a> Hadoop. Make sure you download the latest version (as of this blogpost, 0.17.2 and 0.18.0 are the latest versions). We call our generic version of hadoop hadoop-* in this tutorial. + [http://hadoop.apache.org/core/releases.html Download] Hadoop. Make sure you download the latest version (as of this post, 0.17.2 and 0.18.0 are the latest versions). We call our generic version of hadoop hadoop-* in this tutorial. Unpack the hadoop-*.tar.gz in the directory of your choice. I placed mine in /Users/hadoop. You may also want to set ownership permissions for the directory: @@ -311, +311 @@ /user/hadoop/output/part-00000 <r 1> 2917 2008-09-13 20:10 rw-r--r-- hadoop supergroup }}} - The most important part is that the number next to the <r 1> should ""not"" be 0. + The most important part is that the number next to the <r 1> should '''not''' be 0. To check the actual contents of the output do:
