org.apache.hadoop.mapred

Class SshFenceByTcpPort

    • Constructor Detail

      • SshFenceByTcpPort

        public SshFenceByTcpPort()
    • Method Detail

      • checkArgs

        public void checkArgs(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,
                       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