How Do I Replace Packages When I Create a Verification Task for an MRS 3.1.0 Cluster Using Yarn?
Scenarios
The following describes how to replace packages when you create a full or selective verification task for a HBase cluster that uses Yarn mode.
Procedure
- On the server where the MgC Agent is installed, run the following command to access the specified MgC Agent directory:
cd /opt/cloud/Edge/tools/plugins/collectors/bigdata-migration/hadoop3
- Run the following command to delete the old packages from the directory:
rm -f hadoop-c* hadoop-m* hadoop-y* zookeeper-* hbase-* hadoop-h*
- Go to the lib directory of the HBase client in the cluster and run the following command to copy the new packages to the specified directory: Replace xxxx@xxx.xx.xx.xx with the username and IP address of the server with the MgC Agent installed.
scp hadoop-c* hadoop-m* hadoop-y* zookeeper-* hbase-* opentracing-* jaeger-core-* commons-validator* hadoop-h* xxxx@xxx.xx.xx.xx:/opt/cloud/Edge/tools/plugins/collectors/bigdata-migration/hadoop3
- Go to the specified directory on the server with the MgC Agent installed by referring to step 1. Run the following command to change the permissions and owner for the new packages:
chmod 755 hadoop-c* hadoop-m* hadoop-y* zookeeper-* hbase-* opentracing-* jaeger-core-* commons-validator* hadoop-h* chown edge:edgegroup hadoop-c* hadoop-m* hadoop-y* zookeeper-* hbase-* opentracing-* jaeger-core-* commons-validator* hadoop-h*
- Restart the MgC Agent.
cd /opt/cloud/Edge/scripts sh start.sh
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.