Uses of Class
org.apache.hadoop.registry.client.types.ServiceRecord
Packages that use ServiceRecord
Package
Description
YARN Registry Client API.
Registry binding utility classes.
Registry client services
Core Zookeeper support.
This package contains all the data types which can be saved to the registry
and/or marshalled to and from JSON.
DNS Server classes.
This package contains the classes which integrate with the YARN resource
manager.
Basic services for the YARN registry
The
RegistryAdminService
extends the shared YARN Registry client with registry setup and
(potentially asynchronous) administrative actions.-
Uses of ServiceRecord in org.apache.hadoop.registry.client.api
Methods in org.apache.hadoop.registry.client.api that return ServiceRecordModifier and TypeMethodDescriptionResolve the record at a pathMethods in org.apache.hadoop.registry.client.api with parameters of type ServiceRecordModifier and TypeMethodDescriptionvoidRegistryOperations.bind(String path, ServiceRecord record, int flags) Bind a path in the registry to a service recordvoidDNSOperations.delete(String path, ServiceRecord record) Delete a service's registered endpoints.voidDNSOperations.register(String path, ServiceRecord record) Register a service based on a service record. -
Uses of ServiceRecord in org.apache.hadoop.registry.client.binding
Methods in org.apache.hadoop.registry.client.binding that return types with arguments of type ServiceRecordModifier and TypeMethodDescriptionstatic Map<String,ServiceRecord> RegistryUtils.extractServiceRecords(RegistryOperations operations, String parentpath) Extract all service records under a list of stat operations...this non-atomic action skips entries that are too short or simply not matching.static Map<String,ServiceRecord> RegistryUtils.extractServiceRecords(RegistryOperations operations, String parentpath, Collection<RegistryPathStatus> stats) Extract all service records under a list of stat operations...this skips entries that are too short or simply not matchingstatic Map<String,ServiceRecord> RegistryUtils.extractServiceRecords(RegistryOperations operations, String parentpath, Map<String, RegistryPathStatus> stats) Extract all service records under a list of stat operations...this non-atomic action skips entries that are too short or simply not matching.static Map<String,ServiceRecord> RegistryUtils.listServiceRecords(RegistryOperations registryOperations, String path) List service records directly under a pathMethods in org.apache.hadoop.registry.client.binding with parameters of type ServiceRecordModifier and TypeMethodDescriptionstatic voidRegistryTypeUtils.validateServiceRecord(String path, ServiceRecord record) Validate the record by checking for null fields and other invalid conditions -
Uses of ServiceRecord in org.apache.hadoop.registry.client.impl
Methods in org.apache.hadoop.registry.client.impl that return ServiceRecordMethods in org.apache.hadoop.registry.client.impl with parameters of type ServiceRecordModifier and TypeMethodDescriptionvoidFSRegistryOperationsService.bind(String path, ServiceRecord record, int flags) -
Uses of ServiceRecord in org.apache.hadoop.registry.client.impl.zk
Methods in org.apache.hadoop.registry.client.impl.zk that return ServiceRecordMethods in org.apache.hadoop.registry.client.impl.zk with parameters of type ServiceRecordModifier and TypeMethodDescriptionvoidRegistryOperationsService.bind(String path, ServiceRecord record, int flags) -
Uses of ServiceRecord in org.apache.hadoop.registry.client.types
Constructors in org.apache.hadoop.registry.client.types with parameters of type ServiceRecord -
Uses of ServiceRecord in org.apache.hadoop.registry.server.dns
Methods in org.apache.hadoop.registry.server.dns with parameters of type ServiceRecordModifier and TypeMethodDescriptionprotected voidApplicationServiceRecordProcessor.createAAAAInfo(ServiceRecord record) Create an application AAAA record descriptor.protected voidContainerServiceRecordProcessor.createAAAAInfo(ServiceRecord record) Creates a container AAAA (IPv6) record descriptor.protected voidApplicationServiceRecordProcessor.createAInfo(ServiceRecord record) Create an application A record descriptor.protected voidContainerServiceRecordProcessor.createAInfo(ServiceRecord record) Creates a container A (IPv4) record descriptor.protected voidApplicationServiceRecordProcessor.createCNAMEInfo(ServiceRecord serviceRecord) Create an application CNAME record descriptor.protected voidContainerServiceRecordProcessor.createPTRInfo(ServiceRecord record) Creates a container PTR record descriptor.protected voidApplicationServiceRecordProcessor.createSRVInfo(ServiceRecord serviceRecord) Create an application SRV record descriptor.protected voidApplicationServiceRecordProcessor.createTXTInfo(ServiceRecord serviceRecord) Create an application TXT record descriptor.protected voidContainerServiceRecordProcessor.createTXTInfo(ServiceRecord serviceRecord) Create a container TXT record descriptor.voidRegistryDNS.delete(String path, ServiceRecord record) Delete the DNS records generated by the provided service record.voidApplicationServiceRecordProcessor.initTypeToInfoMapping(ServiceRecord serviceRecord) Initializes the DNS record type to descriptor mapping based on the provided service record.voidContainerServiceRecordProcessor.initTypeToInfoMapping(ServiceRecord serviceRecord) Initializes the DNS record type to descriptor mapping based on the provided service record.voidServiceRecordProcessor.initTypeToInfoMapping(ServiceRecord serviceRecord) Initialize the mapping between DNS record type and record information for the given service record.voidRegistryDNS.register(String path, ServiceRecord record) Register DNS records based on the provided service record.Constructors in org.apache.hadoop.registry.server.dns with parameters of type ServiceRecordModifierConstructorDescriptionApplicationServiceRecordProcessor(ServiceRecord record, String path, String domain, ZoneSelector zoneSelector) Create an application service record processor.BaseServiceRecordProcessor(ServiceRecord record, String path, String domain, ZoneSelector zoneSelector) Creates a service record processor.ContainerServiceRecordProcessor(ServiceRecord record, String path, String domain, ZoneSelector zoneSelector) Create a container service record processor. -
Uses of ServiceRecord in org.apache.hadoop.registry.server.integration
Methods in org.apache.hadoop.registry.server.integration with parameters of type ServiceRecordModifier and TypeMethodDescriptionbooleanSelectByYarnPersistence.shouldSelect(String path, RegistryPathStatus registryPathStatus, ServiceRecord serviceRecord) -
Uses of ServiceRecord in org.apache.hadoop.registry.server.services
Methods in org.apache.hadoop.registry.server.services with parameters of type ServiceRecordModifier and TypeMethodDescriptionbooleanRegistryAdminService.NodeSelector.shouldSelect(String path, RegistryPathStatus registryPathStatus, ServiceRecord serviceRecord)