Skip to content

Instantly share code, notes, and snippets.

@develash
develash / hadoop_0.23.5_single_node.sh
Created December 8, 2012 16:36
hadoop 0.23.5 single node
# hdfs-site.hml
#<property>
# <name>dfs.replication</name>
# <value>1</value>
# </property>
# <property>
# <name>dfs.namenode.name.dir</name>
# <value>file:/opt/yarn_data/hdfs/namenode</value>
# </property>
# <property>
@develash
develash / hadoop_1.1.1_setup.sh
Created December 8, 2012 19:40
hadoop 1.1.1 setup
# hdfs-site.xml
# <property>
# <name>dfs.replication</name>
# <value>1</value>
# </property>
# core-site.xml
@develash
develash / gist:4243381
Created December 9, 2012 04:54
CDH4 MRv1 Psuedo-distributed Everything Installation (CentOS / RHEL 6.x 64bit)
# Assumes you have Sun JDK installed already and JAVA_HOME set to that for root
# This is all basically a summary of various parts of https://ccp.cloudera.com/display/CDH4DOC/CDH4+Documentation
# Add Cloudera RPM-GPG-KEY and repo
rpm --import http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera
rpm -ivh http://archive.cloudera.com/cdh4/one-click-install/redhat/6/x86_64/cloudera-cdh-4-0.x86_64.rpm
# Install CDH4 Base
yum install hadoop-0.20-conf-pseudo