 | INameServerClientProtocolAppendBlock Method |
Appends a new block to a file.
Namespace:
Ookii.Jumbo.Dfs
Assembly:
Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 2.0.0
SyntaxBlockAssignment AppendBlock(
string path,
bool useLocalReplica
)
Function AppendBlock (
path As String,
useLocalReplica As Boolean
) As BlockAssignment
BlockAssignment^ AppendBlock(
String^ path,
bool useLocalReplica
)
abstract AppendBlock :
path : string *
useLocalReplica : bool -> BlockAssignment
Parameters
- path
- Type: SystemString
The full path of the file to which to append a block. - useLocalReplica
- Type: SystemBoolean
to put the first replica on the node that's appending the block if it's part of the DFS cluster; otherwise, .
Return Value
Type:
BlockAssignmentInformation about the new block.
Exceptions
See Also