Displays statistics for MapR-DB or file system components that are identified by an FID. This command is similar to the UNIX stat command.

Only the root user and the MAPR_USER user (user name under which MapR services runs) have permissions to run this command.


CLImaprcli fid stat
  [ -cluster cluster_name ]
  -fid fid


clusterThe cluster on which to run the command. If this parameter is omitted, the command is run on the same cluster where it is issued. In multi-cluster contexts, you can use this parameter to specify a different cluster on which to run the command.
fidThe file identifier for the element (region, kvstore, etc.) for which you want detailed information. The output of maprcli table region list lists the FIDs for the table's regions.

Output Fields

uidThe user ID of the owner.
atimeThe last access time for this FID. 
nblocksThe number of disk blocks.
deleteFlagsAn internal delete flags set on the FID for transactions involving multiple nodes.
mtimeThe time of the last modification.
parentThe parent FID.
typeThe type of the FID. It can be for example, regular file, dir, filelet, kvstore, fidmap etc.
versionThe current version of the FID. 
sizeThe size of the FID. Depending on the type of FID, it can be the actual size or the number of entries.
modeThe UNIX style permission mode bits for the FID.
networkencryptionThe network encryption setting. If the network encryption is enabled for this FID or not.

The subtype of the FID.

gidThe group ID.
compressionThe compression setting.


Displays statistics for a specified FID:

[user@hostname ~]$ maprcli fid stat -fid 2062.32.131252  -json
        "timeofday":"2015-03-04 06:13:53.948 GMT-0800",