Administration of the MapR Database is done primarily via the command line (maprcli) or with the MapR Control System (MCS). Regardless of whether the MapR Database table is used for binary files or JSON documents, the same types of commands are used with slightly different parameter
options. MapR Database 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.

Permissions Required at the Source Cluster

Note: The mapr user is not treated as a
superuser. MapR Event Store For Apache Kafka does not allow the mapr user to run this command
unless that user is given the relevant permission or permissions with access-control
expressions.

Permissions Required at the Target Cluster

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

Parameters

The path and name of the stream that you want to create a replica for.

replica

The path and name of the stream that you want to create as a replica of the
stream that you specified with the -path parameter.

paused

A boolean value that specifies whether to pause the replication so that it does
not start immediately. The replication can be resumed using the replica resume
command at a later time. The values are true or
false. The default is false.

Set
-paused to true if you want to run
mapr copystream to load the replica stream before starting
replication. If it is not paused, replication starts immediately after you run the
commands maprcli stream replica add and maprcli stream
upstream add, in which case the replica stream starts empty and
accumulates messages over time. If you are interested only in the messages that
are published to the source stream after replication starts, then you do not need
to pause replication initially. However, if you want the full set of messages from
the source stream that have not yet been purged or marked for deletion, then pause
replication initially.

throttle

A boolean value that specifies whether to throttle replication operations.
Throttle the replication stream to minimize the impact of the replication process on
incoming operations during periods of heavy load. The values are
true or false. The default is
false.

Throttling has two effects, both of which allow MapR Event Store For Apache Kafka to
use more system resources to process new messages:

Throttling slows down the rate at which changes to a stream are
replicated.

Throttling slows down the rate at which messages to be replicated are read
from disk.

networkencryption

A boolean value that specifies whether or not to enable on-wire encryption. The
values are true or false. The default is
false. If you set the value to true, the local
cluster and any other cluster that is part of the replication process must be
enabled for security.

synchronous

A boolean value that specifies whether replication is synchronous or
asynchronous. The values are true or false. The
default is false and specifies asynchronous replication.

networkcompression

Specifies the type of compression to use when replicating messages. For more
information, see Managing Compression.