table region split

Splits a region in a table.

Syntax

CLI

maprcli table region split
    -path <path>
    -fid <fid>

REST

http[s]://<host>:<port>/rest/table/region/split?path=<path>&fid=<fid>

NOTE: The mapr user is not treated as a superuser. MapR-DB does not allow the mapr user to run this command unless that user is given the relevant permission or permissions with access-control expressions.

Parameters

Parameter

Description

path

Path to the table.

  • For a path on the local cluster, start the path at the volume mount point. For example, if you want to split regions in a table named test under volume1 which has a mount point at /volume1, specify the following path: /volume1/test
  • For a path on another cluster, you must also specify the cluster name in the path. For example, if you want to split regions in a table named customer under volume1 in the sanfrancisco cluster, specify the following path:/mapr/sanfrancisco/volume1/customer

fid

The FID of the region to split. The output of maprcli table region list lists the FIDs for the table's regions.

Examples

This example splits a region in the table newtable.

CLI
maprcli table region split -path /my.cluster.com/volume1/newtable -fid 2086.32.131296
REST
https://r1n1.sj.us:8443/rest/table/region/split?path=%2Fmy.cluster.com%2Fvolume1%2Fnewtable&fid=2086.32.131296