| Package | Description |
|---|---|
| org.apache.slider.server.appmaster.state | |
| org.apache.slider.server.avro |
| Modifier and Type | Method and Description |
|---|---|
int |
RoleHistory.rebuild(LoadedRoleHistory loadedRoleHistory)
rebuild the placement history from the loaded role history
|
| Modifier and Type | Method and Description |
|---|---|
LoadedRoleHistory |
RoleHistoryWriter.attemptToReadHistory(org.apache.hadoop.fs.FileSystem fileSystem,
List<org.apache.hadoop.fs.Path> paths)
Iterate through the paths until one can be loaded
|
LoadedRoleHistory |
RoleHistoryWriter.loadFromHistoryDir(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path dir)
Try to load the history from a directory -a failure to load a specific
file is downgraded to a log and the next older path attempted instead
|
LoadedRoleHistory |
RoleHistoryWriter.read(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path)
Read a role history from a path in a filesystem
|
LoadedRoleHistory |
RoleHistoryWriter.read(InputStream in)
Read a history, returning one that is ready to have its onThaw()
method called
|
LoadedRoleHistory |
RoleHistoryWriter.read(String resource)
Read from a resource in the classpath -used for testing
|
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.