Package | Description |
---|---|
org.apache.hadoop.hdfs |
A distributed implementation of
FileSystem . |
Modifier and Type | Method and Description |
---|---|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setAllowShortCircuitReads(boolean allowShortCircuit)
Set whether short-circuit is enabled.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setBlock(long blockId,
String blockPoolId)
Set the block ID and block pool ID which are being opened.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setBlockAccessToken(byte[] token)
Set the block access token to use.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setClientName(String clientName)
Set the name of the HDFS client.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setConfiguration(Configuration conf)
Set the configuration to use.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setFileName(String fileName)
Set the file name which is being opened.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setGenerationStamp(long genstamp)
Set the genstamp of the block which is being opened.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setVerifyChecksum(boolean verifyChecksum)
Set whether checksums must be verified.
|
abstract ReplicaAccessorBuilder |
ReplicaAccessorBuilder.setVisibleLength(long visibleLength)
Set the length of the replica which is visible to this client.
|
Copyright © 2024 Apache Software Foundation. All rights reserved.