简体   繁体   中英

Running hadoop as a linux service

I am neither an expert to linux not to hadoop but I followed the instruction for installation hadoop in distributed mode(Hortonworks distribution and manual) and when I got to section starting the cluster I give a thought why this couldn't be run as a service.

Does anybody have some experience with running hadoop as a linux service? Is it a good or bad idea? Pros and cons? Any hints doing that?

Any help will be appriciated. Thx

是的,您可以运行hadoop作为服务,因为您需要编写小的脚本来设置环境并启动适当的nodemanager ,例如slave服务器上的datanodenodemanager以及hdfs服务器上的namenodeyarn server上的resourcemanager等,然后将脚本保存到/ etc / init.d /,那么您需要在rcX.d中适当指定创建链接以获取更多update-rc.d

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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