Supported by libMapRClient for hadoop-2.x
Returns the capacity in bytes of the connected filesystem.
tOffset hdfsGetCapacity(hdfsFS fs)
| Parameter | Description |
|---|---|
| fs | The filesystem handle. Obtain this handle by
calling one of the hdfsConnect() APIs. |
Returns the capacity in bytes of the connected filesystem, -1 on error.
Check errno for error codes and meanings.
errno can be set to EINVAL in case of error.