Displays detailed information for MapR-DB or file-system components that are identified by an FID.
|cluster||The 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.|
|fid||The file identifier for the element (region, kvstore, etc.) for which you want detailed information. The output of |
You can run this command on any FID available on the MapR-FS. The following file types display information that may be useful:
maprcli fid dump output for a tablet map includes the key for each tablet and its corresponding FID. Each tablet contain a range of data starting with the key associated with the tablet and ending before the key associated with the next tablet.
To determine the FID for a tablet map:
hadoop mfs -ls <table path>to determine the table FID. The table FID is the FID that displays after the "p.”
Run maprcli fid dump on the table FID to determine the tablet map FID.
- Construct the tablet map FID for the maprcli fid dump command by replacing <parentCID> with the set of numbers before the first period four numbers in the table FID.
Output Example for a Tablet Map
maprcli fid dump output for a tablet includes key and value pairs for the following:
- startkey. The first key value in the tablet.
- pmap. Each partition.
- endkey. The last key value in the tablet.
Output Fields for a Tablet
This table describes a majority of the output values for each partition (pmap) in the tablet.
|key||The partition key.|
|segfid||The FID of the segment map associated with this partition.|
|isFrozen||A Boolean value that indicates if a partition is in a frozen state or not. Internally, a partition is sometimes temporarily marked as frozen in order for certain operations to complete.|
|inSplit||A Boolean value that indicates if a partition split is in progress for this partition.|
|useBucketDesc||This property is for internal use only.|
|The FID of the bucket file (WAL) which was last flushed for this partition.|
The number of logical blocks (8K) for this partition.
The number of physical blocks (8K) for this partition.
|numRows||The number of rows stored in this partition.|
|numRowsWithDelete||The number of rows which are marked for delete in this partition.|
The number of disk blocks which are not local to this partition.
|numSpills||The number of spills.|
|numSegments||The number of segments.|
Output Example for a Tablet
maprcli fid dump output of a segment map includes a map of row keys and the corresponding segment FID.
Output Fields for a Segment Map
|key||The row key|
|value||The FID corresponding to the segment associated with this key.|
Output Example for a Segment Map
The output of
maprcli fid dump for a segment includes details about each spill.
Output Fields for a Segment
|key||The index of the spill.|
|numRemoteBlocks||The number of remote blocks.|
|numspills||The number of spills.|
The property contains the following values:
Output Example for a Segment