table region split
Splits a region in a table.
Permissions Required
To run this command, your user ID must have the following permissions:
readAce
andwriteAce
on the volumelookupdir
on directories in the pathsplitmergeperm
permission on the table
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
-
NOTEFor 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.
|
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
-
NOTEFor 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>