You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Benjamin Hindman <be...@berkeley.edu> on 2011/12/06 01:34:47 UTC
Re: Review Request: Call driver.stop() with an argument in python example
framework
> On 2011-11-14 20:30:36, Benjamin Hindman wrote:
> > src/examples/python/test_framework.py, line 74
> > <https://reviews.apache.org/r/2815/diff/1/?file=57685#file57685line74>
> >
> > Is this not the default?
>
> Andy Konwinski wrote:
> It doesn't seem like it. The error message we get is:
>
> Failed to call scheduler's statusUpdate
> Traceback (most recent call last):
> File "/scratch/charles/mesos2/build-linux/bin/examples/python/test_framework.py", line 74, in statusUpdate
> driver.stop()
> TypeError: function takes exactly 1 argument (0 given)
The default is in fact false. It looks like the problem is possibly that we are going through native bindings. I'm re-opening this and checking it out.
- Benjamin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2815/#review3226
-----------------------------------------------------------
On 2011-11-12 08:28:53, Charles Reiss wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/2815/
> -----------------------------------------------------------
>
> (Updated 2011-11-12 08:28:53)
>
>
> Review request for mesos.
>
>
> Summary
> -------
>
> Fixes MESOS-78.
>
>
> This addresses bug MESOS-78.
> https://issues.apache.org/jira/browse/MESOS-78
>
>
> Diffs
> -----
>
> src/examples/python/test_framework.py 0e4b14c
>
> Diff: https://reviews.apache.org/r/2815/diff
>
>
> Testing
> -------
>
> Checked output of tests/external/SampleFrameworks/PythonFramework.sh
>
>
> Thanks,
>
> Charles
>
>