There are actually a bunch of changes in hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hdfs-site.xml too. In addition to dfs.namenode.name.dir/dfs.datanode.data.dir:
If it's easier, I can upload a patch.
I was trying to figure out why the hdfs-site.xml template exists in both projects – probably out of scope of this jira to resolve that...
I also was wondering if dfs.https.port should be deprecated in favor of dfs.namenode.https-port for consistency.