make namenode name directory into URI
add back domain for datanodes