本文介绍了Cloudera Manager和hdfs-site.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Cloudera Manager时,我可以通过以下途径访问hdfs-site.xml文件:

Cloudera Manager> Cluster> HDFS> Instances>(例如NameNode)> Processes
COnfiguration Files > hdfs-site.xml



然后URL指向:

http://quickstart.cloudera:7180 / cmf / process / 8 / config?filename = hdfs-site.xml



该文件是否可以通过文件系统直接访问,如果是,它位于何处

解决方案

在Cloudera Manager中设置的配置存储在Cloudera Manager数据库中。它们不像其他发行版那样在配置文件中持久化。 在启动该服务时,相关配置会作为运行时配置传递到在要启动服务的节点上运行的Cloudera Agent。这些传递的配置存储在代理的运行时目录 / var / run / cloudera-scm-agent / 中。

When using Cloudera Manager I can access to the hdfs-site.xml file via :
Cloudera Manager > Cluster > HDFS > Instances > (NameNode, for example)> ProcessesCOnfiguration Files > hdfs-site.xml

Then the URL points to :
http://quickstart.cloudera:7180/cmf/process/8/config?filename=hdfs-site.xml

Is this file accessible directly via the file system and if yes, where is it located

解决方案

The configurations set in the Cloudera Manager are stored in the Cloudera Manager Database. They are not persisted in the configuration files as in for other distributions.

On starting the service, the related configurations are passed as runtime configurations to the Cloudera Agent running on the node where the service is to be started. These passed on configurations are stored in the runtime directory /var/run/cloudera-scm-agent/ of the agent.

这篇关于Cloudera Manager和hdfs-site.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 05:24