Skip to content

Commit

Permalink
maprcli operations
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii Cherkashyn authored Sep 24, 2020
1 parent 5833115 commit 27c437b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mapr.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,11 @@ DrillCollaboration
```

## MapRDB
https://docs.datafabric.hpe.com/61/ReferenceGuide/tablecommands.html
Create table
```bash
maprclitable create -path <path_in_maprfs>
```
Show info
```bash
maprcli table info -path /vantage/deploy/data-access-video/images -json
Expand All @@ -348,6 +353,9 @@ Create an index for the thumbnail MapR JSON DB in order to speed up: (query to f
```bash
--query {"$select":"sessionId","$where":{"$eq":{"frameThumbnail":0}}}
maprcli table index add -path /vantage/deploy/data-access-video/images -index frameNumber_id -indexedfields frameThumbnail
# maprclitable index add -path <path> -index <name> -indexedfields<fields>
maprclitable index list -path <path>
maprclitable cfcreate / delete / list
```
[manipulate with MapRDB via DbShell](https://mapr.com/docs/61/ReferenceGuide/dbshell-find-findbyid.html)
```sh
Expand Down

0 comments on commit 27c437b

Please sign in to comment.