| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.namenode.sps |
This package provides a mechanism for satisfying the storage policy of a
path.
|
| Modifier and Type | Class | Description |
|---|---|---|
static class |
StoragePolicySatisfier.AttemptedItemInfo |
This class contains information of an attempted blocks and its last
attempted or reported time stamp.
|
| Modifier and Type | Method | Description |
|---|---|---|
ItemInfo |
BlockStorageMovementNeeded.get() |
Gets the satisfier files for which block storage movements check necessary
and make the movement if required.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
BlockStorageMovementNeeded.add(ItemInfo trackInfo) |
Add the candidate to tracking list for which storage movement
expected if necessary.
|
void |
BlockStorageMovementNeeded.add(ItemInfo itemInfo,
boolean scanCompleted) |
Add the itemInfo to tracking list for which storage movement expected if
necessary.
|
void |
SPSService.addFileToProcess(ItemInfo itemInfo,
boolean scanCompleted) |
Adds the Item information(file etc) to processing queue.
|
void |
StoragePolicySatisfier.addFileToProcess(ItemInfo trackInfo,
boolean scanCompleted) |
|
void |
BlockStorageMovementNeeded.removeItemTrackInfo(ItemInfo trackInfo,
boolean isSuccess) |
Decrease the pending child count for directory once one file blocks moved
successfully.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
BlockStorageMovementNeeded.addAll(long startPath,
java.util.List<ItemInfo> itemInfoList,
boolean scanCompleted) |
Add the itemInfo list to tracking list for which storage movement expected
if necessary.
|
void |
SPSService.addAllFilesToProcess(long startPathId,
java.util.List<ItemInfo> itemInfoList,
boolean scanCompleted) |
Adds all the Item information(file etc) to processing queue.
|
void |
StoragePolicySatisfier.addAllFilesToProcess(long startPath,
java.util.List<ItemInfo> itemInfoList,
boolean scanCompleted) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.