fix bug 1149746: HBase Master cannot launch on HA+Fed CDH4 cluster and the first namespace has only one namenode