简体   繁体   English

如何设置Cloudera Hadoop在Ubuntu本地主机上运行?

[英]How to setup Cloudera Hadoop to run on Ubuntu localhost?

I am trying to run all Hadoop servers on a single Ubuntu localhost. 我正在尝试在单个Ubuntu本地主机上运行所有Hadoop服务器。 All ports are open and my /etc/hosts file is 所有端口都打开,我的/ etc / hosts文件是

127.0.0.1   frigate frigate.domain.local    localhost
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

When trying to install cluster Cloudera manager fails with the following messages: 尝试安装集群时,Cloudera Manager失败并显示以下消息:

Installation failed. Failed to receive heartbeat from agent.

Ensure that the host's hostname is configured properly.
Ensure that port 7182 is accessible on the Cloudera Manager server (check firewall rules).
Ensure that ports 9000 and 9001 are free on the host being added.
Check agent logs in /var/log/cloudera-scm-agent/ on the host being added (some of the logs can be found in the installation details).

I run my Ubuntu-12.04 node from home connected by Wifi/dialup modem to my provider. 我通过Wifi /拨号调制解调器连接到我的提供商的家中运行Ubuntu-12.04节点。 What configuration is missing? 缺少什么配置?

Add your pc ip to /etc/hosts file like 将您的PC IP添加到/ etc / hosts文件,例如

# IP pc_name
192.168.3.4 my_pc

It will solve the issue. 它将解决问题。

this config is ok for me. 这个配置对我来说还可以。 hope helpful. 希望对您有所帮助。

127.0.0.1       localhost.localdomain localhost

https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!msg/cdh-dev/9rczbLkAxlg/lF882T7ZyNoJ https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!msg/cdh-dev/9rczbLkAxlg/lF882T7ZyNoJ

my pc: (ubuntu12.04.2 64bit vm) 我的电脑:(ubuntu12.04.2 64bit vm)

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

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