hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lantao Jin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11360) HDFS balancer need to appoint to a decided nameservice
Date Mon, 23 Jan 2017 13:57:26 GMT
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


Mime
View raw message