Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ MapReduce Service/ FAQs/ Big Data Service Development/ How Do I Modify the HDFS Active/Standby Switchover Class?

How Do I Modify the HDFS Active/Standby Switchover Class?

Updated on 2022-09-14 GMT+08:00

If the org.apache.hadoop.hdfs.server.namenode.ha.AdaptiveFailoverProxyProvider class is unavailable when a cluster of MRS 3.x connects to NameNodes using HDFS, the cause is that the HDFS active/standby switchover class of the cluster is configured improperly. To solve the problem, perform the following operations:

  • Method 1: Add the hadoop-plugins-xxx.jar package to the classpath or lib directory of your program.

    The hadoop-plugins-xxx.jar package is stored in the HDFS client directory, for example, $HADOOP_HOME/share/hadoop/common/lib/hadoop-plugins-8.0.2-302023.jar.

  • Method 2: Change the configuration item of HDFS to the corresponding open source class, as shown in the follows:

    dfs.client.failover.proxy.provider.hacluster=org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback