table region split

Splits a region in a table.

Permissions Required

To run this command, your user ID must have the following permissions:

NOTE
The mapr user is not treated as a superuser. HPE Ezmeral Data Fabric Database does not allow the mapr user to run this command unless that user is given the relevant permission or permissions with access-control expressions.

Syntax

CLI
maprcli table region split
  -path <path>
  -fid <fid>
REST
NOTE
For REST examples stated below, use the appropriate SSL-related command line option in the following curl command, according to your SSL setup.
curl -X POST 
  'http[s]://<host>:<port>/rest/table/region/split?path=<path>&fid=<fid>' 
  -u <username>:<password>
NOTE
The mapr user is not treated as a superuser. HPE Ezmeral Data Fabric Database 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.

Example

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
NOTE
For REST examples stated below, use the appropriate SSL-related command line option in the following curl command, according to your SSL setup.
curl -X POST \
  'https://r1n1.sj.us:8443/rest/table/region/split?path=%2Fmy.cluster.com%2Fvolume1%2Fnewtable&fid=2086.32.131296' \
  -u <username>:<password>