String namenode = config.get(DFSConfigKeys.FS_DEFAULT_NAME_KEY, "file:///");
CommandExecutor executor =
CmdFactoryDFS.getCommandExecutor(
new CLITestData.TestCmd(cmd, CLITestData.TestCmd.CommandType.DFSADMIN),
namenode);
executor.executeCommand(cmd);
restore = fsi.getRestoreFailedStorage();
assertFalse("After set true call restore is " + restore, restore);
// run one more time - to set it to true again
cmd = "-fs NAMENODE -restoreFailedStorage true";