After comparing different guides on the internet, I ended up my own version base on the Hadoop official guide with manual download. If you prefer Homebrew, this one would be your best choice. Actually there is no difference in the configuration of these two methods except the file directories. Here I extend the official guide by more details in case you need it.
Important: Ensure that you install Java SE 6 Runtime only by clicking Install in the pop-up window.If you install Java SE 6 or 7 Runtime through any other means (for example, by directly accessing Java.com), Dreamweaver could still display the prompt. Found that Adobe Photoshop CS5 won't run in Mac OS X Yosemite? Is it demanding that you 'install the legacy Java SE 6 runtime'? Here's how to fix the problem and get Photoshop CS5 to work in OS X. Adobe Photoshop Cs3 Free Download And Install. Photoshop CC 2014 (2014.2) Photoshop CC (14.2.1) Photoshop CS6 (13.0.6; 13.1.2). The Mac is a great platform for Java developers with a wide array of commercial, free, and open source development tools available. Whether or not you develop on a Mac, take the time to make a small number of changes to your application so that you provide a Mac-like experience for the millions of potential customers who already use Mac OS X. The problem comes when i update the OS X to Yosemite 10.10.3, my Eclipse won’t open anymore. When i start Eclipse by clicking on its icon, the warning dialog appears saying ‘To open “Eclipse” you need to install the legacy Java SE 6 runtime’. However, Mac OS X does not recognize this version as usable unless the Apple version of Java 6 is also installed. When the synchronization tool is first installed, it will open when the installer completes. If Java 6 is not installed, the system opens a message box informing the user that Java 6 SE is required.
Also, this guide is part of my Hadoop tutorial 1. It aims to setting up the pseudo-distributed mode in single node cluster. And I will explain the HDFS configurations and command lines in Hadoop tutorial 2.
1. Required software
1) Java
Run the following command in a terminal:
If Java is already installed, you can see a similar result like:

If not, the terminal will prompt you for installation or you can download Java JDK here.
2) SSH
First enable Remote Login in System Preference -> Sharing.
Now check that you can ssh to the localhost without a passphrase:
If you cannot ssh to localhost without a passphrase, execute the following commands:
2. Get a Hadoop distribution
You can download it from Apache Download Mirror.
3. Prepare to start the Hadoop cluster
Download Java Se 6 For Mac Os X Yosemite Release Date
1) Unpack the downloaded Hadoop distribution.
2) Run the following command to figure out where is your Java home directory:
You can see a result like:
3) In the distribution, edit the file etc/hadoop/hadoop-env.sh to define some parameters as follows:
4) Try the following command:

This will display the usage documentation for the hadoop script.
Now you are ready to start your Hadoop cluster in one of the three supported modes:
- Standalone mode
- Pseudo-distributed mode
- fully-distributed mode
We will go through pseudo-distributed mode and run a MapReduce job on YARN here. In this mode, Hadoop runs on a single node and each Hadoop daemon runs in a separate Java process.
4. Configuration
Edit following config files in your Hadoop directory
1) etc/hadoop/core-site.xml:
2) etc/hadoop/hdfs-site.xml:
3) etc/hadoop/mapred-site.xml:
4) etc/hadoop/yarn-site.xml:

5. Execution
1) Format and start HDFS and YARN
Format the filesystem:
Download Java Se 6 For Mac Os X Yosemite To El Capitan
Start NameNode daemon and DataNode daemon:
Now you can browse the web interface for the NameNode at - http://localhost:50070/
Make the HDFS directories required to execute MapReduce jobs:
Start ResourceManager daemon and NodeManager daemon:
Browse the web interface for the ResourceManager at - http://localhost:8088/
2) Test examples code that came with the hadoop version
Copy the input files into the distributed filesystem:

Run some of the examples provided:
This example counts the words starting with 'dfs' in the input.
Examine the output files:
Copy the output files from the distributed filesystem to the local filesystem and examine them:
or View the output files on the distributed filesystem:
You can see the result like:
3) Stop YARN and HDFS
When you're done, stop the daemons with:
Please enable JavaScript to view the comments powered by Disqus.