Package | Description |
---|---|
org.apache.hadoop.hdfs |
A distributed implementation of
FileSystem . |
org.apache.hadoop.hdfs.server.datanode | |
org.apache.hadoop.hdfs.shortcircuit |
Modifier and Type | Method and Description |
---|---|
static ExtendedBlockId |
ExtendedBlockId.fromExtendedBlock(org.apache.hadoop.hdfs.protocol.ExtendedBlock block) |
Modifier and Type | Method and Description |
---|---|
void |
ShortCircuitRegistry.processBlockMlockEvent(ExtendedBlockId blockId)
Process a block mlock event from the FsDatasetCache.
|
boolean |
ShortCircuitRegistry.processBlockMunlockRequest(ExtendedBlockId blockId)
Mark any slots associated with this blockId as unanchorable.
|
void |
ShortCircuitRegistry.registerSlot(ExtendedBlockId blockId,
ShortCircuitShm.SlotId slotId,
boolean isCached) |
Modifier and Type | Method and Description |
---|---|
ExtendedBlockId |
ShortCircuitShm.Slot.getBlockId()
Get the ExtendedBlockId associated with this slot.
|
Modifier and Type | Method and Description |
---|---|
ShortCircuitShm.Slot |
ShortCircuitShm.allocAndRegisterSlot(ExtendedBlockId blockId)
Allocate a new slot and register it.
|
ShortCircuitShm.Slot |
ShortCircuitShm.registerSlot(int slotIdx,
ExtendedBlockId blockId)
Register a slot.
|
Modifier and Type | Method and Description |
---|---|
void |
ShortCircuitCache.CacheVisitor.visit(int numOutstandingMmaps,
Map<ExtendedBlockId,org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplica> replicas,
Map<ExtendedBlockId,org.apache.hadoop.security.token.SecretManager.InvalidToken> failedLoads,
Map<Long,org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplica> evictable,
Map<Long,org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplica> evictableMmapped) |
void |
ShortCircuitCache.CacheVisitor.visit(int numOutstandingMmaps,
Map<ExtendedBlockId,org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplica> replicas,
Map<ExtendedBlockId,org.apache.hadoop.security.token.SecretManager.InvalidToken> failedLoads,
Map<Long,org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplica> evictable,
Map<Long,org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplica> evictableMmapped) |
Copyright © 2014 Apache Software Foundation. All Rights Reserved.