This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# hdfs-site.xml | |
# <property> | |
# <name>dfs.replication</name> | |
# <value>1</value> | |
# </property> | |
# core-site.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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> |