hadoop的安装

来源:互联网 发布:明底线知规矩守纪律 编辑:程序博客网 时间:2024/06/09 18:00

Hadoop的安装

根据之前 的BLOG介绍,在CYGWIN下安装Hadoop时出现了几个问题。
1)安装完格式化时提示找不到winutils文件。这个还好解决,找到一个这个文件,或者从Hadoop的源码编译一下就可以。
2)格式化完后启动Hadoop时,报错:

tarting namenodes on [localhost: Name or service not knownstname localhost

找了许多资料,没有解决问题。最后在
https://wiki.apache.org/hadoop/Hadoop2OnWindows
看到:
Do not attempt to run the installation from within Cygwin. Cygwin is neither required nor supported.

因此,中止在CYGWIN下安装Hadoopr 过程。
按以上apache的官方步骤重新开始。

虽然此次安装失败了,经过了这几天的折腾,也算多解了Hadoop一点点。接下来准备按照官方的步骤重新安装一次。

************************************************

http://stackoverflow.com/questions/19620642/failed-to-locate-the-winutils-binary-in-the-hadoop-binary-path
http://www.srccodes.com/p/article/39/error-util-shell-failed-locate-winutils-binary-hadoop-binary-path
http://www.srccodes.com/p/article/38/build-install-configure-run-apache-hadoop-2.2.0-microsoft-windows-os

0 0
原创粉丝点击