/** * Returns a command builder with the build environment configured with the containerId. * @param samzaContainerId to configure the builder with. * @return the constructed builder object */ private CommandBuilder getCommandBuilder(String samzaContainerId) { String cmdBuilderClassName = taskConfig.getCommandClass(ShellCommandBuilder.class.getName()); CommandBuilder cmdBuilder = Util.getObj(cmdBuilderClassName, CommandBuilder.class); cmdBuilder.setConfig(config).setId(samzaContainerId).setUrl(state.jobModelManager.server().getUrl()); return cmdBuilder; } /**
/** * Returns a command builder with the build environment configured with the containerId. * @param samzaContainerId to configure the builder with. * @return the constructed builder object */ private CommandBuilder getCommandBuilder(String samzaContainerId) { String cmdBuilderClassName = taskConfig.getCommandClass(ShellCommandBuilder.class.getName()); CommandBuilder cmdBuilder = Util.getObj(cmdBuilderClassName, CommandBuilder.class); cmdBuilder.setConfig(config).setId(samzaContainerId).setUrl(state.jobModelManager.server().getUrl()); return cmdBuilder; } /**
/** * Returns a command builder with the build environment configured with the containerId. * @param samzaContainerId to configure the builder with. * @return the constructed builder object */ private CommandBuilder getCommandBuilder(String samzaContainerId) { String cmdBuilderClassName = taskConfig.getCommandClass(ShellCommandBuilder.class.getName()); CommandBuilder cmdBuilder = Util.getObj(cmdBuilderClassName, CommandBuilder.class); cmdBuilder.setConfig(config).setId(samzaContainerId).setUrl(state.jobModelManager.server().getUrl()); return cmdBuilder; } /**
/** * Returns a command builder with the build environment configured with the containerId. * @param samzaContainerId to configure the builder with. * @return the constructed builder object */ private CommandBuilder getCommandBuilder(String samzaContainerId) { String cmdBuilderClassName = taskConfig.getCommandClass(ShellCommandBuilder.class.getName()); CommandBuilder cmdBuilder = Util.getObj(cmdBuilderClassName, CommandBuilder.class); cmdBuilder.setConfig(config).setId(samzaContainerId).setUrl(state.jobModelManager.server().getUrl()); return cmdBuilder; } /**
/** * Returns a command builder with the build environment configured with the containerId. * @param samzaContainerId to configure the builder with. * @return the constructed builder object */ private CommandBuilder getCommandBuilder(String samzaContainerId) { String cmdBuilderClassName = taskConfig.getCommandClass(ShellCommandBuilder.class.getName()); CommandBuilder cmdBuilder = Util.getObj(cmdBuilderClassName, CommandBuilder.class); cmdBuilder.setConfig(config).setId(samzaContainerId).setUrl(state.jobModelManager.server().getUrl()); return cmdBuilder; } /**