node remove

Removes one or more server nodes from the system. Permissions required: fc or a.

After issuing the node remove command, wait several minutes to ensure that the node has been properly and completely removed.

Syntax

CLI
maprcli node remove
    [ -filter "<filter>" ]
    [ -hostids <host IDs> ]
    [ -nodes <node names> ]
    [ -service <fileserver or nfsserver> ]
    [ -zkconnect <ZooKeeper Connect String> ]
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/node/remove[?<parameters>] 

Parameters

Parameter

Description

filter

A filter specifying nodes on which to start or stop services. See Filters for more information.

hostids

A list of host IDs, separated by spaces.

nodes

A list of node names, separated by spaces.

service Service to be removed. Either fileserver or nfsserver.

zkconnect

ZooKeeper Connect String. Example: 'host:port,host:port,host:port,...'. To obtain zookeeper connection strings, use the maprcli node listzookeepers command. Default: localhost:5181

Examples

CLI
maprcli node remove -nodes 10.20.30.40
REST
https://abc.sj.us:8443/rest/node/remove?nodes=10.20.30.40