简体   繁体   English

Hadoop的cloudera发行版是否使用控制脚本?

[英]Does cloudera distribution of hadoop use the control scripts?

Are the control scripts (start-dfs.sh and start-mapred.sh) used by CDH to start daemons on the fully distributed cluster? CDH是否使用控制脚本(start-dfs.sh和start-mapred.sh)在完全分布式群集上启动守护程序? I downloaded and installed CDH5, but could not see the control scripts in the installation, and wondering how does CDH start the daemons on slave nodes? 我下载并安装了CDH5,但是在安装中看不到控制脚本,并且想知道CDH如何在从属节点上启动守护程序?

Or since the daemons are installed as services, they do start with the system start-up. 或者,由于守护程序是作为服务安装的,因此它们确实会在系统启动时启动。 Hence there is no need for control scripts in CDH unlike apache hadoop. 因此,与Apache Hadoop不同,CDH中不需要控制脚本。

Not as such, no. 不是这样,不。 If I recall correctly, Cloudera Manager invokes the daemons using Supervisor ( http://supervisord.org/ ). 如果我没有记错的话,Cloudera Manager会使用Supervisor( http://supervisord.org/ )调用守护程序。 So, you manage the services in CM. 因此,您可以在CM中管理服务。 CM itself runs agent processes as a service on each node, and you can find its start script in /etc/init.d . CM本身在每个节点上将代理进程作为服务运行,您可以在/etc/init.d找到其启动脚本。 There is no need for you to install or start or stop anything. 您无需安装或启动或停止任何操作。 You install, deploy config, control and monitor servies in CM. 您可以在CM中安装,部署配置,控制和监视服务。

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

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