hadoop实践

hadoop 1.0

教程: https://www.systutorials.com/hadoop-installation-tutorial/

https://www.linuxidc.com/Linux/2012-05/60634.htm

1. 创建用户hadoop

2. 下载: curl -o hadoop-1.2.1-bin.tar.gz  https://archive.apache.org/dist/hadoop/common/hadoop-1.2.1/hadoop-1.2.1-bin.tar.gz

3. 解压 

4. 整个目录给hadoop 用户授权 sudo chown  -R hadoop hadoop-1.2.1

 

su hadoop

配置环境变量

export HADOOP_COMMON_HOME="/Users/yangming/programs/hadoop-1.2.1"
export PATH=$HADOOP_COMMON_HOME/bin/:$PATHn

 

资料:

https://archive.apache.org/dist/hadoop/common/hadoop-1.2.1/hadoop-1.2.1-bin.tar.gz

2.0 ~ 3.0 镜像地址:

https://mirrors.tuna.tsinghua.edu.cn/apache/hadoop/common/ 

 

posted @ 2021-05-28 10:09  yangming0322  阅读(48)  评论(0编辑  收藏  举报