You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Lantao Jin (JIRA)" <ji...@apache.org> on 2017/01/23 13:57:26 UTC
[jira] [Created] (HDFS-11360) HDFS balancer need to appoint to a
decided nameservice
Lantao Jin created HDFS-11360:
---------------------------------
Summary: HDFS balancer need to appoint to a decided nameservice
Key: HDFS-11360
URL: https://issues.apache.org/jira/browse/HDFS-11360
Project: Hadoop HDFS
Issue Type: Bug
Components: balancer & mover
Reporter: Lantao Jin
Priority: Minor
With distcp configuration, there are two or more "nameservices" setting in hdfs-site.xml, for example:
{code}
<property>
<name>dfs.nameservices</name>
<value>one-nn-ha,two--nn-ha</value>
</property>
{code}
If the HDFS Balancer also launches in that node, it will create two IPC threads to connect both of NNs. And block removing also happens in the this Balancer. Although I didn't find any block removing between different nodes, the behavior still became weird and unexpected.
So the best way is adding a configuration that appoint to a decided nameservice to launch. I can offer a patch. Any better ideal?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org