Hadoop发布missing / conf目录 [英] Hadoop release missing /conf directory

查看:136
本文介绍了Hadoop发布missing / conf目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Ubuntu上安装Hadoop的单个节点设置。
我开始遵循说明在Hadoop 2.3文档



但我似乎缺少一些非常简单的东西。



首先,它说


要获得Hadoop发行版,请从其中一个Apache下载镜像下载最新的稳定版本。


然后,


解压下载的Hadoop发行版。在发行版中,编辑文件conf / hadoop-env.sh以至少将JAVA_HOME定义为Java安装的根。


然而,我似乎无法找到 conf 目录。



我在< a href =http://mirrors.koehn.com/apache/hadoop/common/hadoop-2.3.0/ =noreferrer>其中一个镜像。然后解压tarball,内部返回的 ls

  $ ls 
bin etc include lib libexec LICENSE.txt NOTICE.txt README.txt sbin share

我能够找到它们所引用的文件,而不是在 conf 目录中:

  $ find。 -name hadoop-env.sh 
./etc/hadoop/hadoop-env.sh

我错过了什么,或者我抓错了包裹?或者文件是否过时?

如果是这样,任何人都知道一些更新的文档是在哪里?

解决方案

我试图安装伪分布式模式Hadoop,运行时遇到同样的问题。 b

通过阅读第618页的 Hadoop权威指南(第三版)一书,它说:

 在Hadoop 2.0及更高版本中,MapReduce在YARN上运行,并且还有一个名为yarn-site.xml的额外的b $ b配置文件。所有的配置文件应该放在
etc / hadoop子目录中

希望这可以证实 etc / hadoop 是正确的地方。


I am trying to install a single node setup of Hadoop on Ubuntu. I started following the instructions on the Hadoop 2.3 docs.

But I seem to be missing something very simple.

First, it says to

To get a Hadoop distribution, download a recent stable release from one of the Apache Download Mirrors.

Then,

Unpack the downloaded Hadoop distribution. In the distribution, edit the file conf/hadoop-env.sh to define at least JAVA_HOME to be the root of your Java installation.

However, I can't seem to find the conf directory.

I downloaded a release of 2.3 at one of the mirrors. Then unpacked the tarball, an ls of the inside returns:

$ ls
bin  etc  include  lib  libexec  LICENSE.txt  NOTICE.txt  README.txt  sbin  share

I was able to find the file they were referencing, just not in a conf directory:

$ find . -name hadoop-env.sh
./etc/hadoop/hadoop-env.sh

Am I missing something, or am I grabbing the wrong package? Or are the docs just outdated?

If so, anyone know where some more up-to date docs are?

解决方案

I am trying to install a pseudo-distributed mode Hadoop, running into the same issue.

By following the book Hadoop The Definitive Guide (Third Edition), on page 618, it says:

In Hadoop 2.0 and later, MapReduce runs on YARN and there is an additional con-
figuration file called yarn-site.xml. All the configuration files should go in the
etc/hadoop subdirectory

Hope this confirms that etc/hadoop is the correct place.

这篇关于Hadoop发布missing / conf目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆