We updated the default ports at HDFS-9427. However, the NN's default RPC ports aren't mentioned in hdfs-site.xml. It'd be more user-friendly if we added them, maybe in the description.
Andrew Wang thanks for reporting this. Are you referring to hdfs-defaut.xml? +1 the proposal since NN RPC port is the one most frequently used from CLI.
Attach a simple patch to make a change.
This message was automatically generated.
Thanks for the patch. Yiqun Lin. + 1 LGTM.
+1, committing this. (failed tests look unrelated)
Committed to trunk.
Thanks Andrew for reporting, Yiqun for the fix and Xiaobing for review.
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10716 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10716/)
HDFS-11064. Mention the default NN rpc ports in hdfs-default.xml. (xiao: rev 57187fdb93c8f59372c980eb3d86073a3c8045b9)