Hadoop

From Colettapedia
Jump to: navigation, search

Using macports installed hadoop

To run on a single-node in a pseudo-distributed mode:

  1. Turn on Remote Login (sshd): check 'System Preferences > Sharing > Remote Login'
  2. Format a new distributed-filesystem: $ hadoop-bin hadoop namenode -format
  3. Start the hadoop daemons: $ hadoop-bin start-all.sh
  4. Perform operations you like. To see examples: $ open file:///opt/local/share/java/hadoop-1.2.1/docs/single_node_setup.html
  5. When you're done, stop the daemons with: $ hadoop-bin stop-all.sh