You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Surendra Singh Lilhore (JIRA)" <ji...@apache.org> on 2018/11/14 12:33:01 UTC

[jira] [Created] (HDFS-14079) RBF : RouterAdmin should have failover concept for router

Surendra Singh Lilhore created HDFS-14079:
---------------------------------------------

             Summary: RBF : RouterAdmin should have failover concept for router
                 Key: HDFS-14079
                 URL: https://issues.apache.org/jira/browse/HDFS-14079
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 3.1.1
            Reporter: Surendra Singh Lilhore
            Assignee: Surendra Singh Lilhore


Currenlty {{RouterAdmin}} connect with only one router for admin operation, if the configured router is down then router admin command is failing. It should allow to configure all the router admin address.

{code}
    // Initialize RouterClient
    try {
      String address = getConf().getTrimmed(
          RBFConfigKeys.DFS_ROUTER_ADMIN_ADDRESS_KEY,
          RBFConfigKeys.DFS_ROUTER_ADMIN_ADDRESS_DEFAULT);
      InetSocketAddress routerSocket = NetUtils.createSocketAddr(address);
      client = new RouterClient(routerSocket, getConf());
    } catch (RPC.VersionMismatch v) {
      System.err.println(
          "Version mismatch between client and server... command aborted");
      return exitCode;
    }
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org