minor changes to make dnsserver and namenode work