| Package | Description |
|---|---|
| org.apache.hadoop.registry.client.api |
YARN Registry Client API.
|
| org.apache.hadoop.registry.client.binding |
Registry binding utility classes.
|
| org.apache.hadoop.registry.client.impl |
Registry client services
|
| org.apache.hadoop.registry.client.impl.zk |
Core Zookeeper support.
|
| org.apache.hadoop.registry.client.types |
This package contains all the data types which can be saved to the registry
and/or marshalled to and from JSON.
|
| org.apache.hadoop.registry.server.dns |
DNS Server classes.
|
| org.apache.hadoop.registry.server.integration |
This package contains the classes which integrate with the YARN resource
manager.
|
| org.apache.hadoop.registry.server.services |
Basic services for the YARN registry
The
RegistryAdminService
extends the shared YARN Registry client with registry setup and
(potentially asynchronous) administrative actions. |
| Modifier and Type | Method | Description |
|---|---|---|
ServiceRecord |
RegistryOperations.resolve(java.lang.String path) |
Resolve the record at a path
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
RegistryOperations.bind(java.lang.String path,
ServiceRecord record,
int flags) |
Bind a path in the registry to a service record
|
void |
DNSOperations.delete(java.lang.String path,
ServiceRecord record) |
Delete a service's registered endpoints.
|
void |
DNSOperations.register(java.lang.String path,
ServiceRecord record) |
Register a service based on a service record.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.Map<java.lang.String,ServiceRecord> |
RegistryUtils.extractServiceRecords(RegistryOperations operations,
java.lang.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 java.util.Map<java.lang.String,ServiceRecord> |
RegistryUtils.extractServiceRecords(RegistryOperations operations,
java.lang.String parentpath,
java.util.Collection<RegistryPathStatus> stats) |
Extract all service records under a list of stat operations...this
skips entries that are too short or simply not matching
|
static java.util.Map<java.lang.String,ServiceRecord> |
RegistryUtils.extractServiceRecords(RegistryOperations operations,
java.lang.String parentpath,
java.util.Map<java.lang.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 java.util.Map<java.lang.String,ServiceRecord> |
RegistryUtils.listServiceRecords(RegistryOperations registryOperations,
java.lang.String path) |
List service records directly under a path
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
RegistryTypeUtils.validateServiceRecord(java.lang.String path,
ServiceRecord record) |
Validate the record by checking for null fields and other invalid
conditions
|
| Modifier and Type | Method | Description |
|---|---|---|
ServiceRecord |
FSRegistryOperationsService.resolve(java.lang.String path) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
FSRegistryOperationsService.bind(java.lang.String path,
ServiceRecord record,
int flags) |
| Modifier and Type | Method | Description |
|---|---|---|
ServiceRecord |
RegistryOperationsService.resolve(java.lang.String path) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
RegistryOperationsService.bind(java.lang.String path,
ServiceRecord record,
int flags) |
| Constructor | Description |
|---|---|
ServiceRecord(ServiceRecord that) |
Deep cloning constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
ApplicationServiceRecordProcessor.createAAAAInfo(ServiceRecord record) |
Create an application AAAA record descriptor.
|
protected void |
ContainerServiceRecordProcessor.createAAAAInfo(ServiceRecord record) |
Creates a container AAAA (IPv6) record descriptor.
|
protected void |
ApplicationServiceRecordProcessor.createAInfo(ServiceRecord record) |
Create an application A record descriptor.
|
protected void |
ContainerServiceRecordProcessor.createAInfo(ServiceRecord record) |
Creates a container A (IPv4) record descriptor.
|
protected void |
ApplicationServiceRecordProcessor.createCNAMEInfo(ServiceRecord serviceRecord) |
Create an application CNAME record descriptor.
|
protected void |
ContainerServiceRecordProcessor.createPTRInfo(ServiceRecord record) |
Creates a container PTR record descriptor.
|
protected void |
ApplicationServiceRecordProcessor.createSRVInfo(ServiceRecord serviceRecord) |
Create an application SRV record descriptor.
|
protected void |
ApplicationServiceRecordProcessor.createTXTInfo(ServiceRecord serviceRecord) |
Create an application TXT record descriptor.
|
protected void |
ContainerServiceRecordProcessor.createTXTInfo(ServiceRecord serviceRecord) |
Create a container TXT record descriptor.
|
void |
RegistryDNS.delete(java.lang.String path,
ServiceRecord record) |
Delete the DNS records generated by the provided service record.
|
void |
ApplicationServiceRecordProcessor.initTypeToInfoMapping(ServiceRecord serviceRecord) |
Initializes the DNS record type to descriptor mapping based on the
provided service record.
|
void |
ContainerServiceRecordProcessor.initTypeToInfoMapping(ServiceRecord serviceRecord) |
Initializes the DNS record type to descriptor mapping based on the
provided service record.
|
void |
ServiceRecordProcessor.initTypeToInfoMapping(ServiceRecord serviceRecord) |
Initialize the mapping between DNS record type and record information
for the given service record.
|
void |
RegistryDNS.register(java.lang.String path,
ServiceRecord record) |
Register DNS records based on the provided service record.
|
| Constructor | Description |
|---|---|
ApplicationServiceRecordProcessor(ServiceRecord record,
java.lang.String path,
java.lang.String domain,
ZoneSelector zoneSelector) |
Create an application service record processor.
|
BaseServiceRecordProcessor(ServiceRecord record,
java.lang.String path,
java.lang.String domain,
ZoneSelector zoneSelector) |
Creates a service record processor.
|
ContainerServiceRecordProcessor(ServiceRecord record,
java.lang.String path,
java.lang.String domain,
ZoneSelector zoneSelector) |
Create a container service record processor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
SelectByYarnPersistence.shouldSelect(java.lang.String path,
RegistryPathStatus registryPathStatus,
ServiceRecord serviceRecord) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
RegistryAdminService.NodeSelector.shouldSelect(java.lang.String path,
RegistryPathStatus registryPathStatus,
ServiceRecord serviceRecord) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.