Created
July 11, 2012 10:27
-
-
Save marblejenka/3089514 to your computer and use it in GitHub Desktop.
apache hadoopの疑似分散環境インストール
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
# インストール | |
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