List of usage examples for org.apache.hadoop.registry.client.api RegistryOperationsFactory createInstance
public static RegistryOperations createInstance(String name, Configuration conf)
From source file:org.apache.slider.server.services.utility.AbstractSliderLaunchedService.java
License:Apache License
/** * Create the registry operations instance. This is to allow * subclasses to instantiate a subclass service * @return an instance to match to the lifecycle of this service *///from w ww .ja v a2 s . c o m protected RegistryOperations createRegistryOperationsInstance() { return RegistryOperationsFactory.createInstance("YarnRegistry", getConfig()); }