Add default explicitly to java, add namenode/datanode/resourcemanager/nodemanager for testing