Fix reporting of 2NN address when dfs.secondary.http.address is default 
(wildcard)
----------------------------------------------------------------------------------

                 Key: HDFS-1464
                 URL: https://issues.apache.org/jira/browse/HDFS-1464
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node
    Affects Versions: 0.22.0
            Reporter: Todd Lipcon


HDFS-1080 broke the way that the 2NN identifies its own hostname to the NN 
during checkpoint upload. It used to use the local hostname, which as HDFS-1080 
pointed out was error prone if it had multiple interfaces, etc. But now, with 
the default setting of dfs.secondary.http.address, the 2NN reports "0.0.0.0", 
which won't work either.

We should look for the wildcard bind address and use the local hostname in that 
case, like we used to.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to