Module houdiniBackEnd :: Class HoudiniBackEnd
[hide private]
[frames] | no frames]

Class HoudiniBackEnd

source code


A backend for a jobtype that runs an instance of Houdini in a child process.

This will allow for the Houdini session to persist for the duration of the subjob.

Instance Methods [hide private]
 
__init__(self, job)
Function to initialize class members.
source code
tuple ([childArgs], [pyInitCmds])
getSubprocessArgs(self, port)
Get the arguments to start the child python process.
source code
 
findHoudini(self)
If HFS is passed in from the job, and is valid on this host, use it.
source code

Inherited from qb.backend.pythonChildBackEnd.PythonChildBackEnd: executeWork, generateChildBootstrapper, initPyCmdDispatcher, jobSetup, jobTeardown

Inherited from qb.backend.pythonBackEnd.PythonQubeBackEnd: getLogData, hasJobPhaseCmds, logHandler, parseLogData, printClassInfo, updateResultPackage, validateOutputFileSize

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from qb.backend.pythonChildBackEnd.PythonChildBackEnd: DEFAULT_PYTHON

Inherited from qb.backend.pythonBackEnd.PythonQubeBackEnd: LOGREAD_TIME_THRESHOLD, QB_WAITING_TIMEOUT

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, job)
(Constructor)

source code 

Function to initialize class members.

Parameters:
  • job - The qube job object passed to the worker, this represents a job instance.
Overrides: object.__init__
(inherited documentation)

getSubprocessArgs(self, port)

source code 

Get the arguments to start the child python process.

Parameters:
  • port (int) - the port on which the PyCmdDispatcher's backchannel instance is listening, usually passed as a parameter to the child_bootstrapper.py script which starts up the pyCmdExecutor inside child process started by the PyCmdDispatcher
Returns: tuple ([childArgs], [pyInitCmds])
Return a tuple of a list of args to start the python interpreter, and a list of python commands to initialize the python working environment.
Raises:
  • NotImplementedError - Raised when this method is not overridden in a derived class.
Overrides: qb.backend.pythonChildBackEnd.PythonChildBackEnd.getSubprocessArgs

findHoudini(self)

source code 

If HFS is passed in from the job, and is valid on this host, use it. Otherwise, get a clue from job.conf and search.