Adding Upstream Source for Table

You can add an upstream source for a table using MCS and the CLI.

Adding Upstream Source Using the MapR Control System

To add an upstream source for the current table:
  1. Log in to MCS and go to the Replication tab in the table information page.
  2. Click Add Upstream Source Table in the Upstream Sources pane.
    The Add Upstream Source Table window displays.
  3. Enter the path to the upstream source table.
    • For a path on the local cluster, start the path at the volume mount point. For example, for a table named testsrc under volume1 which has a mount point at /volume1, specify the following path: /volume1/testsrc
    • For a path on another cluster, you must also specify the cluster name in the path. For example, for a table named customersrc under volume1 in the sanfrancisco cluster, specify the following path: /mapr/sanfrancisco/volume1/customersrc
  4. Click Add Upstream Source Table.

Adding Upstream Source Using the CLI or the REST API

The basic command to add upstream source is:

maprcli table upstream add -path <table path> -upstream <upstream table path>

See table upstream add for complete reference information.