All Products
Search
Document Center

E-MapReduce:Use Tablestore as a storage backend

Last Updated:Sep 16, 2026

The JindoFS Namespace Service supports various storage backends. You can configure Tablestore as the metadata storage backend for the Namespace Service.

Prerequisites

Background information

When Tablestore is used as the backend, JindoFS automatically creates a dedicated table in your Tablestore instance for each namespace to store its metadata.

The following figure shows the Namespace Service architecture in high availability (HA) mode.HA

Configure Tablestore

Bind a Tablestore instance to the JindoFS Namespace Service.

  1. Go to the SmartData service.
    1. Log on to the EMR console.
    2. In the top navigation bar, select a region and a resource group as needed.
    3. Click the Clusters tab.
    4. On the Clusters page, find your cluster and click Details in the Actions column.
    5. In the navigation pane on the left, choose Services > SmartData.
  2. Go to the bigboot service configuration page.
    1. Click the Configure tab.
    2. Click bigboot .
  3. Configure the following parameters.

    For example, assume that you created a Tablestore instance named emr-jfs in the China (Hangzhou) region, the EMR cluster uses a VPC network, the AccessKey ID is kkkkkk, and the AccessKey secret is XXXXXX.

    Parameter

    Description

    Required

    Example

    namespace.backend.type

    The storage backend type for the Namespace Service. Valid values:

    • rocksdb

    • ots

    • raft

    Default value: rocksdb.

    Yes

    ots

    namespace.ots.instance

    The name of the Tablestore instance.

    Yes

    emr-jfs

    namespace.ots.accessKey

    The AccessKey ID for the Tablestore instance.

    No

    kkkkkk

    namespace.ots.accessSecret

    The AccessKey secret for the Tablestore instance.

    No

    XXXXXX

    namespace.ots.endpoint

    The endpoint of the Tablestore instance. For standard EMR clusters, use a VPC endpoint.

    Yes

    http://emr-jfs.cn-hangzhou.vpc.tablestore.aliyuncs.com

  4. Save the configuration.

    1. In the upper-right corner, click Save.

    2. In the Confirm dialog box, enter a reason for the change and turn on Auto-update Configuration.

    3. Click OK.

  5. In the upper-right corner, click Actions > Restart Jindo Namespace Service.

Configure Tablestore (HA mode)

For EMR clusters in HA mode, you can also enable high availability for the Namespace Service.

The Namespace Service HA mode uses an active-standby architecture with automatic failover. If the active node fails, clients automatically switch to the new active node.OTS

  1. In the bigboot service configuration of SmartData, configure the following parameters.

    1. Change the value of jfs.namespace.server.rpc-address to emr-header-1:8101,emr-header-2:8101.

    2. In the upper-right corner, click Custom Configuration, add the namespace.backend.ots.ha parameter, and set its value to true.

    3. Click OK.

    4. Save the configuration.

      1. In the upper-right corner, click Save.

      2. In the Confirm dialog box, enter a reason for the change and turn on Auto-update Configuration.

      3. Click OK.

  2. In the upper-right corner, click Actions > Restart Jindo Namespace Service.

  3. In the upper-right corner, click Actions > Restart Jindo Storage Service.