Help Center/ Migration Center/ FAQs/ Big Data Verification/ How Do I Replace Packages Before I Create a Connection to a Secured HBase Cluster on the Target Cloud?
Updated on 2025-04-30 GMT+08:00

How Do I Replace Packages Before I Create a Connection to a Secured HBase Cluster on the Target Cloud?

Scenarios

Before you create a connection to a secured HBase cluster on the target cloud, you need to replace certain packages.

Procedure

  1. Replace involved packages.

    1. On the server where the MgC Agent is installed, run the following command to access the specified directory of the MgC Agent:
      cd /opt/cloud/MgC-Agent/tools/plugins/collectors/bigdata-migration/hadoop3
    2. Run the following command to delete the old packages from the directory:
      rm -f hadoop-s* hadoop-c* hadoop-m* hadoop-y* zookeeper-*
    3. Copy the new packages from the secured cluster's client to the specified directory. Replace xxxx@xxx.xx.xx.xx with the username and IP address of the secured cluster.
      scp hadoop-s* hadoop-c* hadoop-m* hadoop-y* zookeeper-* xxxx@xxx.xx.xx.xx:/opt/cloud/MgC-Agent/tools/plugins/collectors/bigdata-migration/hadoop3

  2. Modify the permissions and owner of the new packages.

    chmod 755 hadoop-s* hadoop-c* hadoop-m* hadoop-y* zookeeper-*
    chown mgcagent:mgcagentgroup hadoop-s* hadoop-c* hadoop-m* hadoop-y* zookeeper-*

  3. Restart the MgC Agent.

    cd /opt/cloud/MgC-Agent/scripts
    sh start.sh