Class CondorC

  • All Implemented Interfaces:
    CondorStyle

    public class CondorC
    extends Condor
    Enables a job to be directly submitted to the condor pool of which the submit host is a part of. This style is applied for jobs to be run - on the submit host in the scheduler universe (local pool execution) - on the local condor pool of which the submit host is a part of
    Version:
    $Revision$
    Author:
    Karan Vahi
    • Field Detail

      • REMOTE_UNIVERSE_KEY

        public static final java.lang.String REMOTE_UNIVERSE_KEY
        The constant for the remote universe key.
        See Also:
        Constant Field Values
      • SHOULD_TRANSFER_FILES_KEY

        public static final java.lang.String SHOULD_TRANSFER_FILES_KEY
        The name of the key that designates that files should be transferred via Condor File Transfer mechanism.
        See Also:
        Constant Field Values
      • REMOTE_SHOULD_TRANSFER_FILES_KEY

        public static final java.lang.String REMOTE_SHOULD_TRANSFER_FILES_KEY
        The corresponding remote kye name that designates that files should be transferred via Condor File Transfer mechanism.
        See Also:
        Constant Field Values
      • WHEN_TO_TRANSFER_OUTPUT_KEY

        public static final java.lang.String WHEN_TO_TRANSFER_OUTPUT_KEY
        The name of key that designates when to transfer output.
        See Also:
        Constant Field Values
      • REMOTE_WHEN_TO_TRANSFER_OUTPUT_KEY

        public static final java.lang.String REMOTE_WHEN_TO_TRANSFER_OUTPUT_KEY
        The corresponding name of the remote key that designated when to transfer output.
        See Also:
        Constant Field Values
      • COLLECTOR_KEY

        public static final java.lang.String COLLECTOR_KEY
        The key that designates the collector associated with the job
        See Also:
        Constant Field Values
      • GRID_RESOURCE_KEY

        public static final java.lang.String GRID_RESOURCE_KEY
        The key that designates the collector associated with the job
        See Also:
        Constant Field Values
      • STYLE_NAME

        public static final java.lang.String STYLE_NAME
        The name of the style being implemented.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CondorC

        public CondorC()
        The default constructor.
    • Method Detail

      • constructGridResource

        protected java.lang.String constructGridResource​(Job job)
                                                  throws CondorStyleException
        Constructs the grid_resource entry for the job. The grid resource is a tuple consisting of three fields. The first field is the grid type, which is condor. The second field is the name of the remote condor_schedd daemon. The third field is the name of the remote pool's condor_collector.
        Parameters:
        job - the job
        Returns:
        the grid_resource entry
        Throws:
        CondorStyleException - in case of any error occuring code generation.