deleteReplicas

Syntax

deleteReplicas(chunkId, nodeAlias)

Arguments

chunkId is a string or a string vector indicating ID of chunks.

nodeAlias is a string indicating the alias of a node.

Details

Delete replicas of one or multiple chunks from a node.

This command can only be executed by an administrator on a controller node.

Examples

Delete the replicas of all chunks on “node1”.

$ chunkIds=exec chunkId from pnodeRun(getAllChunks) where node="node1"
$ deleteReplicas(chunkIds,"node1");