 | INameServerClientProtocolAppendBlock Method |
Appends a new block to a file.
Namespace: Ookii.Jumbo.DfsAssembly: Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
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 String
- The full path of the file to which to append a block.
- useLocalReplica Boolean
- to put the first replica on the node that's appending the block if it's part of the DFS cluster; otherwise, .
Return Value
BlockAssignmentInformation about the new block.
Exceptions
See Also