org.apache.hadoop.mapred

Class SshFenceByTcpPort

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  SshFenceByTcpPort.Args
      Container for the parsed arg line for this fencing method.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void checkArgs(java.lang.String argStr)
      Verify that the argument, if given, in the conf is parseable.
      boolean tryFence(org.apache.hadoop.ha.HAServiceTarget target, java.lang.String argsStr) 
      • Methods inherited from class org.apache.hadoop.conf.Configured

        getConf, setConf
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        public static final org.apache.commons.logging.Log LOG
      • CONF_CONNECT_TIMEOUT_KEY

        public static final java.lang.String CONF_CONNECT_TIMEOUT_KEY
        See Also:
        Constant Field Values
      • CONF_IDENTITIES_KEY

        public static final java.lang.String CONF_IDENTITIES_KEY
        See Also:
        Constant Field Values
    • Constructor Detail

      • SshFenceByTcpPort

        public SshFenceByTcpPort()
    • Method Detail

      • checkArgs

        public void checkArgs(java.lang.String argStr)
                       throws org.apache.hadoop.ha.BadFencingConfigurationException
        Verify that the argument, if given, in the conf is parseable.
        Specified by:
        checkArgs in interface org.apache.hadoop.ha.FenceMethod
        Throws:
        org.apache.hadoop.ha.BadFencingConfigurationException
      • tryFence

        public boolean tryFence(org.apache.hadoop.ha.HAServiceTarget target,
                       java.lang.String argsStr)
                         throws org.apache.hadoop.ha.BadFencingConfigurationException
        Specified by:
        tryFence in interface org.apache.hadoop.ha.FenceMethod
        Throws:
        org.apache.hadoop.ha.BadFencingConfigurationException

Copyright © 2009 The Apache Software Foundation