如何找到我的hadoop集群的集群ID? [英] how to find cluster id of my hadoop cluster?
问题描述
我想将数据从AWS S3复制到我的hadoop群集。在研究复制数据时,我发现了 S3DistCp 。在阅读它时,我遇到了集群ID术语。我从此处阅读有关群集ID的信息,但无法确定如何获得我的hadoop群集的群集ID。
在哪里可以找到我的hadoop群集的群集ID?
注意: I '使用Horton Works 2.2集群设置
假设您的 dfs.namenode.name.dir
位置指向 / hadoop / hdfs / namenode
。
您的hadoop群集ID将位于此文件中 / hadoop / hdfs / namenode / current / VERSION
p>
在文本编辑器中打开 VERSION
文件并搜索 namespaceID
。 VERSION文件中的namespaceID是您的hadoop群集ID。
您还可以在<$ c中找到您的 namespaceID
$ c> / hadoop / hdfs / namesecondary / current / VERSION 档案。
祝您好运!!!!
I want to copy data from AWS S3 to my hadoop cluster. While researching about copying the data, I found S3DistCp. While reading about it, I came across cluster id term. I read about cluster id from here, but couldn't identify how to get cluster id of my hadoop cluster.
Where can I find my hadoop cluster's cluster id?
Note: I'm using Horton Works 2.2 cluster setup
Suppose, your dfs.namenode.name.dir
location points to /hadoop/hdfs/namenode
.
Your hadoop cluster ID will be in this file /hadoop/hdfs/namenode/current/VERSION
.
Open the VERSION
file in text editor and search for namespaceID
. The namespaceID in the VERSION file is your hadoop cluster ID.
You can also find your namespaceID
in /hadoop/hdfs/namesecondary/current/VERSION
file.
Good Luck!!!!
这篇关于如何找到我的hadoop集群的集群ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!