You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org> on 2011/12/06 01:35:42 UTC
[jira] [Commented] (MESOS-78) Example Python framework crashes on
exit
[ https://issues.apache.org/jira/browse/MESOS-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163219#comment-13163219 ]
jiraposter@reviews.apache.org commented on MESOS-78:
----------------------------------------------------
bq. On 2011-11-14 20:30:36, Benjamin Hindman wrote:
bq. > src/examples/python/test_framework.py, line 74
bq. > <https://reviews.apache.org/r/2815/diff/1/?file=57685#file57685line74>
bq. >
bq. > Is this not the default?
bq.
bq. Andy Konwinski wrote:
bq. It doesn't seem like it. The error message we get is:
bq.
bq. Failed to call scheduler's statusUpdate
bq. Traceback (most recent call last):
bq. File "/scratch/charles/mesos2/build-linux/bin/examples/python/test_framework.py", line 74, in statusUpdate
bq. driver.stop()
bq. 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:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/2815/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2011-11-12 08:28:53)
bq.
bq.
bq. Review request for mesos.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. Fixes MESOS-78.
bq.
bq.
bq. This addresses bug MESOS-78.
bq. https://issues.apache.org/jira/browse/MESOS-78
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. src/examples/python/test_framework.py 0e4b14c
bq.
bq. Diff: https://reviews.apache.org/r/2815/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq. Checked output of tests/external/SampleFrameworks/PythonFramework.sh
bq.
bq.
bq. Thanks,
bq.
bq. Charles
bq.
bq.
> Example Python framework crashes on exit
> ----------------------------------------
>
> Key: MESOS-78
> URL: https://issues.apache.org/jira/browse/MESOS-78
> Project: Mesos
> Issue Type: Bug
> Components: python-api
> Reporter: Charles Reiss
> Assignee: Charles Reiss
> Priority: Minor
>
> The Python example framework produces a message like
> 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)
> before exiting. Due to a different bug, this doesn't cause the PythonFramework external test to fail.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira