node toposize

Lists disk space utilization for each topology.

Syntax

CLI
maprcli node toposize
    [ -cluster <cluster> ]
REST
Request Type GET
Request URL
http[s]://<host>:<port>/rest/node/toposize[?<parameters>] 

Parameters

Parameter Description
cluster The cluster on which to run the command.

Output

Field Description
AvailableSpace The amount of available disk space (in GB).
path The cluster rack path to the node (or topology of the node).
TotalSpace The amount of total disk space (in GB).
UsedSpace The amount of utilized disk space (in GB).

Example

Retrieve topology-based disk utilization information:

# maprcli node toposize
path                                 TotalSpace(GB)  UsedSpace(GB)  AvailableSpace(GB)
/                                    1584            18             1563
/abcd                                432             6              425
/abcd/test                           288             0              288
/abcd/test/test1                     144             0              144
/cldb                                576             6              569
/cldb/test                           432             0              432
/cldb/test/test1                     288             0              288
/cldb/test/test1/test2               144             0              144
/ecvol                               288             0              288
/ecvol/test                          288             0              288
/ecvol/test/test1                    144             0              144
/ecvol/test/test1/test2              144             0              144
/ecvol/test/test1/test2/test3        144             0              144
/ecvol/test/test1/test2/test3/test4  144             0              144
# curl -k -X GET 'https://abc.sj.us:8443/rest/node/toposize' --user mapr:mapr
{"timestamp":1533655046390,"timeofday":"2018-08-07 08:17:26.390 GMT-0700 AM","status":"OK","total":3,"data":[{"path":"/","TotalSpace(GB)":273,"UsedSpace(GB)":0,"AvailableSpace(GB)":272},{"path":"/data","TotalSpace(GB)":273,"UsedSpace(GB)":0,"AvailableSpace(GB)":272},{"path":"/data/default-rack","TotalSpace(GB)":273,"UsedSpace(GB)":0,"AvailableSpace(GB)":272}]}