/** * Add a component under the slider name/entry * @param componentName component name * @param record record to put * @throws IOException */ public void putComponent(String componentName, ServiceRecord record) throws IOException { putComponent(sliderServiceClass, instanceName, componentName, record); }
/** * Add a component under the slider name/entry * @param componentName component name * @param record record to put * @throws IOException */ public void putComponent(String componentName, ServiceRecord record) throws IOException { putComponent(sliderServiceClass, instanceName, componentName, record); }
setProvidedServiceRecordAttributes(compOps, container); try { yarnRegistryOperations.putComponent(cid, container); } catch (IOException e) { log.warn("Failed to register container {}/{}: {}",
setProvidedServiceRecordAttributes(compOps, container); try { yarnRegistryOperations.putComponent(cid, container); } catch (IOException e) { log.warn("Failed to register container {}/{}: {}",
record.set("yarn:hostname", role.hostname); yarnRegistry.putComponent( RegistryPathUtils.encodeYarnID(containerId), record);
record.set("yarn:hostname", role.hostname); yarnRegistry.putComponent( RegistryPathUtils.encodeYarnID(containerId), record);