return this.masterClient.hasCmdId(cmdid);
}
@Override
public CommandStatus getCommandStatus(long cmdid) throws IOException {
CommandStatusAvro csa = masterClient.getCmdStatus(cmdid);
if (csa == null) {
throw new IOException("Invalid command id: " + cmdid);
}
FlumeMasterCommandAvro cmda = csa.cmd;
List<String> args = new ArrayList<String>();