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 "Philip Zeyliger (Created) (JIRA)" <ji...@apache.org> on 2012/03/09 03:33:57 UTC

[jira] [Created] (HDFS-3072) haadmin should have configurable timeouts for failover commands

haadmin should have configurable timeouts for failover commands
---------------------------------------------------------------

                 Key: HDFS-3072
                 URL: https://issues.apache.org/jira/browse/HDFS-3072
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: ha
    Affects Versions: 0.24.0
            Reporter: Philip Zeyliger


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.

{code}
  /**
   * 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());
  }
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HDFS-3072) haadmin should have configurable timeouts for failover commands

Posted by "Todd Lipcon (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon reassigned HDFS-3072:
---------------------------------

    Assignee: Todd Lipcon
    
> haadmin should have configurable timeouts for failover commands
> ---------------------------------------------------------------
>
>                 Key: HDFS-3072
>                 URL: https://issues.apache.org/jira/browse/HDFS-3072
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: ha
>    Affects Versions: 0.24.0
>            Reporter: Philip Zeyliger
>            Assignee: Todd Lipcon
>
> 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.
> {code}
>   /**
>    * 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());
>   }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira