table delete
Deletes a HPE Ezmeral Data Fabric Database binary or JSON table.
Permissions Required
To run this command, your user ID must have the following permissions:
readAce
andwriteAce
on the volumelookupdir
on directories in the pathadminaccessperm
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 delete -path <path>
- REST
curl -X POST 'http[s]://<host>:<port>/rest/table/delete?path=<path>' -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 Data Fabric table to delete.
|
Example
Deletes the table table
:
- CLI
-
maprcli table delete -path /mapr/mycluster/volume1/table
- REST
-
curl -X POST \ 'https://r1n1.sj.us:8443/rest/table/delete?path=%2Fmapr%2Fmycluster%2Fvolume1%2Ftable' \ -u <username>:<password>