change config, fix hostname from datanode list bug