阅读背景:

Cloudera hadoop的conf目录在哪里?

来源:互联网 

I've been searching for the location where the Cloudera Hadoop /conf directory is located but I couldn't find it. I installed the namenode using Cloudera's one-click package repo, and I ran sudo apt-get install -y hadoop-hdfs-namenode, but now I need to find the /conf so I can configure a Hadoop cluster. Does someone know where is it located?

我一直在寻找Cloudera Hadoop / conf目录所在的位置,但我找不到它。我使用Cloudera的一键包repo安装了namenode,我运行了sudo apt-get install -y hadoop-hdfs-namenode,但现在我需要找到/ conf,这样我就可以配置Hadoop集群了。有人知道它在哪里吗?

2 个解决方案

#1


2  

It is in the usual place, /etc/hadoop/conf. You will find this is actually a symlink that uses alternatives, but you can just go to this directory to find/edit config if needed.

它在通常的位置,/ etc / hadoop / conf。您会发现这实际上是一个使用替代品的符号链接,但您可以根据需要转到此目录查找/编辑配置。

However it's much easier to manage the packages and config via Cloudera Manager. I really wouldn't bother with editing them manually.

但是,通过Cloudera Manager管理软件包和配置要容易得多。我真的不打算手动编辑它们。

#2


0  

Conf files are located under /etc/hadoop/conf

Conf文件位于/ etc / hadoop / conf下

you can use command to see the list of all configuration files:

您可以使用命令查看所有配置文件的列表:

[cloudera@quickstart ~]$ ls -lart /etc/hadoop/conf/

分享到: