@Internal public final class ProcessPythonEnvironmentManager extends AbstractPythonEnvironmentManager
AbstractPythonEnvironmentManager.PythonLeasedResource
dependencyInfo, PYFLINK_GATEWAY_DISABLED, PYTHON_ARCHIVES_DIR, PYTHON_FILES_DIR, PYTHON_REQUIREMENTS_CACHE, PYTHON_REQUIREMENTS_DIR, PYTHON_REQUIREMENTS_FILE, PYTHON_REQUIREMENTS_INSTALL_DIR, PYTHON_WORKING_DIR, resource
Constructor and Description |
---|
ProcessPythonEnvironmentManager(PythonDependencyInfo dependencyInfo,
String[] tmpDirectories,
Map<String,String> systemEnv,
JobID jobID) |
Modifier and Type | Method and Description |
---|---|
PythonEnvironment |
createEnvironment()
Creates the PythonEnvironment object used to execute Python functions.
|
String |
createRetrievalToken()
Returns an empty RetrievalToken because no files will be transmit via ArtifactService in
process mode.
|
String |
getBootLog()
Returns the boot log of the Python Environment.
|
close, constructEnvironmentVariables, getBaseDirectory, getPythonEnv, open
public PythonEnvironment createEnvironment() throws Exception
PythonEnvironmentManager
Exception
public String createRetrievalToken() throws IOException
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.