public void testEmptyConf() throws Exception {
Configuration conf = new Configuration();
// Verify getting addresses fails
getAddressListFromTool(TestType.NAMENODE, conf, false);
for (Command cmd : Command.values()) {
CommandHandler handler = Command.getHandler(cmd.getName());
if (handler.key != null) {
// First test with configuration missing the required key
String[] args = {handler.key};
runTool(conf, args, false);
}