简体   繁体   English

Cloudera hadoop的conf目录在哪里?

[英]where is the conf directory of Cloudera hadoop located?

I've been searching for the location where the Cloudera Hadoop /conf directory is located but I couldn't find it. 我一直在寻找Cloudera Hadoop /conf目录所在的位置,但我找不到它。 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. 我使用Cloudera的一键包repo安装了namenode ,我运行了sudo apt-get install -y hadoop-hdfs-namenode ,但现在我需要找到/conf这样我就可以配置一个Hadoop集群了。 Does someone know where is it located? 有人知道它在哪里吗?

It is in the usual place, /etc/hadoop/conf . 它在通常的位置, /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. 您会发现这实际上是一个使用alternatives的符号链接,但您可以根据需要转到此目录查找/编辑配置。

However it's much easier to manage the packages and config via Cloudera Manager. 但是,通过Cloudera Manager管理软件包和配置要容易得多。 I really wouldn't bother with editing them manually. 我真的不打算手动编辑它们。

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/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM