Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8236

haadmin should have configurable timeouts for failover commands

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.3
    • 2.0.0-alpha
    • ha
    • None

    Description

      The HAAdmin failover could should time out reasonably aggressively and go onto the fencing strategies if it's dealing with a mostly dead active namenode. Currently it uses what's probably the default, which is to say no timeout whatsoever.

        /**
         * Return a proxy to the specified target service.
         */
        protected HAServiceProtocol getProtocol(String serviceId)
            throws IOException {
          String serviceAddr = getServiceAddr(serviceId);
          InetSocketAddress addr = NetUtils.createSocketAddr(serviceAddr);
          return (HAServiceProtocol)RPC.getProxy(
                HAServiceProtocol.class, HAServiceProtocol.versionID,
                addr, getConf());
        }
      

      Attachments

        1. hadoop-8236.txt
          20 kB
          Todd Lipcon
        2. hadoop-8236.txt
          20 kB
          Todd Lipcon

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              philip Philip Martin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: