Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
0.22.0
-
None
-
None
Description
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.