简体   繁体   English

如何将DataNode添加到Cloudera hadoop

[英]How to add DataNode to Cloudera hadoop

I am trying to add a Datanode to my existing Single Datanode. 我试图将一个Datanode添加到我现有的Single Datanode中。 Since my Unix server does not have access to Internet , Cloudera Manager is unable to perform the installation as it throws below error. 由于我的Unix服务器无法访问Internet,因此Cloudera Manager无法执行安装,因为它抛出以下错误。 Is there any other CLI Method to Add Data Node instead of CM? 还有其他CLI方法可以添加数据节点而不是CM吗?

BEGIN yum info jdk
Loaded plugins: product-id, subscription-manager
Updating Red Hat repositories.
http://archive.cloudera.com/cm4/redhat/6/x86_64/cm/4.7.2/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'archive.cloudera.com'"

Yes, there are two approaches (I'm keeping this Cloudera-specific since this is what you mentioned). 是的,有两种方法(由于您所提到的,所以我保留此Cloudera特定的方法)。

1) Download tarballs and install everything manually. 1)下载tarball并手动安装所有内容。 There is a guide available here , and I think it is not a good candidate to be copied here on Stack Overflow, because it is very long and vendor-specific (if the document moves, the title is "Installation Path C - Installation Using Tarballs"). 有可用的指南在这里 ,我想是不是被复制在这里对堆栈溢出一个不错的选择,因为它是很长,供应商特定的(如果移动文件,文件的标题是“安装路径C -安装使用tar包“)。

2) For large internal installations, you may consider setting up your own repositories with rpm packages that you can access with yum. 2)对于大型内部安装,您可以考虑使用yum可以访问的rpm软件包来设置自己的存储库。 For this you'll need to edit /etc/yum.repos.d and link to some accessible host that's going to be your repo server (of course, you'll have to put your files there in advance). 为此,您需要编辑/etc/yum.repos.d并链接到将成为回购服务器的某些可访问主机(当然,您必须提前将文件放在此处)。 More details here . 更多细节在这里 You can download rpms here . 您可以在此处下载rpms。 I have never had to do this myself, so I help this will point you in the right direction. 我从来没有自己做过,所以我帮助您将方向正确。

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

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