Skip to content

Instantly share code, notes, and snippets.

@marblejenka
Created July 11, 2012 10:27
Show Gist options
  • Save marblejenka/3089514 to your computer and use it in GitHub Desktop.
Save marblejenka/3089514 to your computer and use it in GitHub Desktop.
apache hadoopの疑似分散環境インストール
# インストール
wget http://ftp.kddilabs.jp/infosystems/apache/hadoop/common/hadoop-0.20.205.0/hadoop-0.20.205.0-1.amd64.rpm
rpm -ivh hadoop-0.20.205.0-1.amd64.rpm
# なんやかんや聞かれるけどYで答えておけば疑似分散環境ができる
/usr/sbin/hadoop-setup-single-node.sh
# ユーザーの作成
/usr/sbin/hadoop-create-user.sh -u asakusa
# ディレクトリの作成
su - hdfs
hadoop fs -mkdir /mapred
hadoop fs -chown -R /mapred
参考
http://hortonworks.com/blog/set-up-apache-hadoop-in-minutes-with-rpms/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment