Supported by libMapRClient for hadoop-2.x
Gets the default size of blocks for the connected filesystem.
tOffset hdfsGetDefaultBlockSize(hdfsFS fs)
| Parameter | Description |
|---|---|
| fs | The handle of filesystem. Obtain this handle with
one of the hdfsConnect() APIs. |
Returns 256 MB.
Returns -1 on error.
Check errno for error codes and meanings.