hdfsFreeFileInfo()

Supported by libMapRClient for hadoop-2.x

Frees up the array of hdfsFileInfo structures that is returned by hdfsListDirectory(), including allocated fields.

Signature

void hdfsFreeFileInfo(hdfsFileInfo *hdfsInfo, int numEntries)

Parameters

Parameter Description
hdfsInfo The array of dynamically-allocated hdfsFileInfo structures.
numEntries The size of the array.