夜里下载的速度只有几十KB每秒。放弃了。
今天早上居然有1M+的速度。截图为证。
下载地址为 :
https://archive.apache.org/dist/hadoop/common/hadoop-2.7.1/hadoop-2.7.1.tar.gz
这个windows下运行的工具只维护到了2.7.1
https://github.com/sardetushar/hadooponwindows
另有一个工具 winutils 支持到了 3.0版本
https://github.com/steveloughran/winutilsGitHub - steveloughran/winutils: Windows binaries for Hadoop versions (built from the git commit ID used for the ASF relase)
本文 使用的是 前者 hadooponwindows
步骤如下:
Step 1 : Just download hadoop 2.7.1 from :
https://archive.apache.org/dist/hadoop/core/hadoop-2.7.1/
Step 2: Replace 'conf' and 'bin' folder
Step 3: bin/hadoop namenode -format
Step 4: sbin/start-all.sh
注:
1 没有 conf 目录,只有 etc/hadoop 目录
2 要配置 JAVA HOME ,具体为 etc/hadoop/hadoop-env.sh
set JAVA_HOME=C:Javajdk-12.0.2
如果你的JAVA 路径中带有 programe files ,那要写成 PROGRA~1
set JAVA_HOME=C:PROGRA~1Javajdk-12.0.2
注意其中PROGRA~1代表Program Files
3 添加 HADOOP_HOME 环境变量
4 将 hadoop bin 目录添加至 PATH
5 我将hadoop 解压在E盘 默认数据存储 的路径在在这里:
参考:
https://blog.csdn.net/qq_35535690/article/details/81976032



