This is documentation for MapR Version 5.0. You can also refer to MapR documentation for the latest release.

Skip to end of metadata
Go to start of metadata


Places a node into a maintenance mode for a specified timeout duration. For the duration of the timeout, the cluster's CLDB does not consider this node's data as lost and does not trigger a resync of the data on this node. See Nodes for more information.

Syntax

CLI

maprcli node maintenance
    [ -cluster <cluster> ]
    [ -serverids <serverids> ]
      -nodes <node names>
      -timeoutminutes minutes 

REST

http[s]://<host>:<port>/rest/node/maintenance?<parameters> 

Parameters



Parameter

Description

cluster

The cluster on which to run the command.

serverids

List of server IDs

nodes

List of nodes, space separated.

timeoutminutes

Duration of timeout in minutes

Examples

CLImaprcli node maintenance -nodes centos22.lab -timeoutminutes 20
RESThttps://10.10.82.28:8443/rest/node/maintenance?nodes=centos22.lab&timeoutminutes=20
  • No labels