Retrieving Balancer Status

Retrieve the status of a balancer activity using the CLI.

Procedure

Run the maprcli volume balancinginfo command to retrieve the status of a currently running or scheduled balancer activity.
The basic command to retrieve the status of volume balancer is:
/opt/mapr/bin/maprcli volume balancinginfo -name <vol_name>
For more information, see volume balancinginfo. For example:
# /opt/mapr/bin/maprcli volume balancinginfo -name Volume1 -json
{
  "timestamp":1502529117881,
  "timeofday":"2017-08-12 09:11:57.881 GMT+0000",
  "status":"OK",
  "total":5,
  "data":[
    {
      "volumeName":"Volume1"
    },
    {
      "isBalancingInProgress":false
    },
    {
      "numContainers":15
    },
    {
      "volumeSize":384
    },
    {
      "spInfo":[
        {
          "spId":"f891ae9e6663fa2000598ec48808155c",
          "capacity":152969,
          "usedSize":96,
          "desiredSize":95,
          "isUnderweight":false,
          "isOverweight":false
        },
        {
          "spId":"bed92c0ecfaefc8b00598ec48b01cdfe",
          "capacity":152969,
          "usedSize":96,
          "desiredSize":95,
          "isUnderweight":false,
          "isOverweight":false
        },
        {
          "spId":"b61aa1b814fd8bbc00598ec48d0af1d2",
          "capacity":157065,
          "usedSize":96,
          "desiredSize":97,
          "isUnderweight":false,
          "isOverweight":false
        },
        {
          "spId":"7af11d5b9d223baa00598ec4850efb57",
          "capacity":152969,
          "usedSize":96,
          "desiredSize":95,
          "isUnderweight":false,
          "isOverweight":false
        }
      ]
    }
  ]
}