Saturday, June 07, 2014

Hadoop 1.x on Ubuntu

http://hadoop.apache.org/docs/current1/single_node_setup.html#PseudoDistributed
http://wiki.apache.org/hadoop/QuickStart
http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/

1. ssh-keygen, ssh-copy-id
1. install openjdk-7-jdk
2. conf/hadoop-env.sh , JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386
3. conf/core-site.xml, conf/hdfs-site.xml, conf/mapred-site.xml
4. bin/hadoop namenode -format
5. bin/start-all.sh
6. run grep example
7. bin/stop-all.sh


























[Note] tested with hadoop-1.2.1, make sure the conf setting is for version 1

No comments:

Related Posts Plugin for WordPress, Blogger...