Administration of the MapR-DB is done primarily via the command line (maprcli) or with the MapR Control System (MCS). Regardless of whether the MapR-DB table is used for binary files or JSON documents, the same types of commands are used with slightly different parameter options. MapR-DB administration is associated with tables, columns and column families, and table regions.

The MapR Data Access Gateway is a service that acts as a proxy and gateway for translating requests between lightweight client applications and the MapR cluster. This section describes considerations when upgrading the service, how to modify configuration settings, and how to administer and manage the service.

Schedule Fields

An array of JSON objects specifying how often the scheduled action occurs. See
Rule Fields below.

Rule Fields

The following table shows the fields to use when creating a rules
object.

Field

Values

frequency

How often to perform the action:

once - Once

yearly - Yearly

monthly - Monthly

weekly - Weekly

daily - Daily

hourly - Hourly

semihourly - Every 30 minutes

quarterhourly - Every 15 minutes

fiveminutes - Every 5 minutes

minute - Every minute

retain

How long to retain the data resulting from the action. For example, if the
schedule creates a snapshot, the retain field sets the snapshot's expiration. The
retain field consists of an integer and one of the following units of time:

mi - minutes

h - hours

d - days

w - weeks

m - months

y - years

time

The time of day to perform the action, in 24-hour format: HH

date

The date on which to perform the action:

For single occurrences, specify month, day and year: MM/DD/YYYY

For yearly occurrences, specify the month and day: MM/DD

For monthly occurrences occurrences, specify the day: DD Daily and hourly
occurrences do not require the date field.

Example

The following example JSON shows a schedule called "snapshot," with three
rules.