mapr exportstream and mapr
importstreamUse these utilities together to export data from MapR streams into
binary sequence files, and then import the data from the binary sequence files into other MapR streams. You
can also use the mapr importstream utility to import changes that are
specified in sequence files output by the mapr diffstreams utility.
mapr exportstream utility, you must have the following
permissions:readAce permission on the volume where the source stream for
mapr exportstream is located.writeAce permission on the volume in which to save the output
from mapr exportstream.consumeperm or
copypermmapr importstream utility, you must have the following
permissions:readAce permission on the volume where the files output by
mapr exportstream is located.writeAce permission on the volume in which the destination stream
is located.copyperm or all three of the
following permissions: produceperm, consumeperm,
topicpermFor information about how to set permissions on volumes, see Setting Whole Volume ACEs.
For information about how to set permissions on streams, see Enabling Table and Stream Authorizations with ACEs.
mapr user is not treated as a
superuser. HPE Ezmeral Data Fabric Event Store does not allow the
mapr user to run these utilities unless that user is given the relevant
permission or permissions with access-control expressions.mapr exportstreammapr exportstream
-src <srcStream>
-dst <dstDir>
[-mapreduce true/false default:false]
mapr exportstream| Description | Parameter |
|---|---|
| src | The stream to export data from. |
| dst | The directory within the MapR filesystem to export the files to. This directory must already exist before you run the utility. |
| mapreduce |
A Boolean value that specifies whether or not to use a MapReduce program to perform the operation. The default, preferred method is to use a MapReduce program (true). When this parameter is set to false, a client process uses multiple threads. |
mapr importstreammapr importstream
-src Input binary file or directory path
-dst Destination stream
[-mapreduce true/false default:false]
mapr importstream| Description | Parameter |
|---|---|
| src | The path of the binary file or files to import.
Examples
|
| dst | The stream to import data into. |
| mapreduce |
A Boolean value that specifies whether or not to use a MapReduce program to perform the operation. The default, preferred method is to use a MapReduce program (true). When this parameter is set to false, a client process uses multiple threads. |