------------------Java Installation -------------- sudo apt-get purge openjdk* sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java6-installer sudo apt-get install oracle-java6-set-default ------------ JAVA_HOME ----------------- /usr/lib/jvm/java-6-oracle ------------- Disable ipv6 -------------------- export HADOOP_OPTS=-Djava.net.preferIPv4Stack=true http://www.ubuntugeek.com/how-to-install-oracle-java-7-in-ubuntu-12-04.html export HADOOP_OPTS=-Djava.net.preferIPv4Stack=true -----------create user for hadoop --------------- sudo addgroup hadoop $ sudo adduser --ingroup hadoop hduser su - hduser ssh-keygen -t rsa -P "" cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys ------------Update the xml ----------------------- *******core-site.xml <property> <name>hadoop.tmp.dir</name> <value>/app/hadoop/tmp</value> </property> <property> <name>fs.default.name</name> <value>hdfs://localhost:54310</value> </property> ************mapred-site.xml <property> <name>mapred.job.tracker</name> <value>localhost:54311</value> </property> ******hdfs-site.xml <property> <name>dfs.replication</name> <value>1</value> </property> ----------- Format namenode ---------------- bin/hadoop namenode -format
Hi People, Warm Welcome to the Next Generation Big Data blog...! Myself Ravi Sharma working as a Data Scientist. Aim of this blog is not give you the functional details of the code. I believe sometimes we know the functionality but don't have idea how to start. So guys this is the place where you can quick start and spin the code.
Wednesday, August 28, 2013
PseudoMode Hadoop Installation on Ubuntu
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment