Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14603 Über-JIRA: HDFS RBF stabilization phase II
  3. HDFS-14079

RBF: RouterAdmin should have failover concept for router

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.1.1
    • None
    • None
    • None

    Description

      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.

          // 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;
          }
      

      Attachments

        1. HDFS-14079-HDFS-13891.02.patch
          34 kB
          Surendra Singh Lilhore
        2. HDFS-14079-HDFS-13891.01.patch
          27 kB
          Surendra Singh Lilhore

        Activity

          People

            surendralilhore Surendra Singh Lilhore
            surendralilhore Surendra Singh Lilhore
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: