| 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.
|
| 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 |
RegistryOperations.delete(java.lang.String path,
boolean recursive) |
Delete a path.
|
java.util.List<java.lang.String> |
RegistryOperations.list(java.lang.String path) |
List all entries under a registry path, returning the relative names
of the entries.
|
boolean |
RegistryOperations.mknode(java.lang.String path,
boolean createParents) |
Create a path.
|
RegistryPathStatus |
RegistryOperations.stat(java.lang.String path) |
Get the status of a path
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
RegistryPathUtils.createFullPath(java.lang.String base,
java.lang.String path) |
Create a full path from the registry root and the supplied subdir
|
static java.util.Map<java.lang.String,RegistryPathStatus> |
RegistryUtils.statChildren(RegistryOperations registryOperations,
java.lang.String path) |
List children of a directory and retrieve their
RegistryPathStatus values. |
static java.lang.String |
RegistryPathUtils.validateElementsAsDNS(java.lang.String path) |
Validate ZK path as valid for a DNS hostname.
|
static java.lang.String |
RegistryPathUtils.validateZKPath(java.lang.String path) |
Validate ZK path with the path itself included in
the exception text
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
FSRegistryOperationsService.bind(java.lang.String path,
ServiceRecord record,
int flags) |
|
void |
FSRegistryOperationsService.delete(java.lang.String path,
boolean recursive) |
|
java.util.List<java.lang.String> |
FSRegistryOperationsService.list(java.lang.String path) |
|
boolean |
FSRegistryOperationsService.mknode(java.lang.String path,
boolean createParents) |
|
RegistryPathStatus |
FSRegistryOperationsService.stat(java.lang.String path) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
RegistryOperationsService.validatePath(java.lang.String path) |
Validate a path
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.