You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Till Toenshoff (JIRA)" <ji...@apache.org> on 2018/01/31 03:45:01 UTC
[jira] [Created] (MESOS-8516) Deprecate mesos.native Python module.
Till Toenshoff created MESOS-8516:
-------------------------------------
Summary: Deprecate mesos.native Python module.
Key: MESOS-8516
URL: https://issues.apache.org/jira/browse/MESOS-8516
Project: Mesos
Issue Type: Improvement
Components: python api
Affects Versions: 1.5.0
Reporter: Till Toenshoff
We have split our code into scheduler-driver related and executor-driver related eggs. {{mesos.native}} exists only for backwards compatibility while the same functionality can now get achieved by directly importing the needed driver egg. This backwards compatibility should be set into deprecation via documentation and possibly code decoration.
{noformat}
import mesos.native
{noformat}
towards
{noformat}
from mesos.executor import MesosExecutorDriver
{noformat}
*or*
{noformat}
from mesos.scheduler import MesosSchedulerDriver
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)