mapr exportstream
and mapr
importstream
Use these utilities together to export data from HPE Ezmeral Data Fabric Streams
into binary sequence files, and then import the data from the binary sequence files into other
HPE Ezmeral Data Fabric Streams. You can
also use the mapr importstream
utility to import changes that are specified
in sequence files output by the mapr diffstreams
utility.
Required Permissions
mapr exportstream
utility, you must have the following
permissions:- The
readAce
permission on the volume where the source stream formapr exportstream
is located. - The
writeAce
permission on the volume in which to save the output frommapr exportstream
. - On the source stream: either
consumeperm
orcopyperm
- On the destination directory: write permission
mapr importstream
utility, you must have the following
permissions:- The
readAce
permission on the volume where the files output bymapr exportstream
is located. - The
writeAce
permission on the volume in which the destination stream is located. - On the source directory: read permission on the directory and all of the files within it
- On the destination stream: either
copyperm
or all three of the following permissions:produceperm
,consumeperm
,topicperm
For 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 Streams does not allow the
mapr
user to run these utilities unless that user is given the relevant
permission or permissions with access-control expressions.Syntax of mapr exportstream
mapr exportstream
-src <srcStream>
-dst <dstDir>
[-mapreduce true/false default:false]
Parameters of mapr exportstream
Description | Parameter |
---|---|
src |
The stream to export data from. |
dst |
The directory within the Data Fabric file system 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 ( When this parameter is set to |
Syntax of mapr importstream
mapr importstream
-src Input binary file or directory path
-dst Destination stream
[-mapreduce true/false default:false]
Parameters of 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 ( When this parameter is set to |