Skip to content

Instantly share code, notes, and snippets.

@jmchilton
Created June 14, 2014 20:43
Show Gist options
  • Save jmchilton/d4c6253b0e88dac00734 to your computer and use it in GitHub Desktop.
Save jmchilton/d4c6253b0e88dac00734 to your computer and use it in GitHub Desktop.
I did a mesos.
(venv)vagrant@mesos:~/mesos_example$ python test_framework.py 127.0.1.1:5050
/home/vagrant/mesos_example/venv/local/lib/python2.7/site-packages/pkg_resources.py:991: UserWarning: /home/vagrant/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
I0614 20:42:54.441416 3420 sched.cpp:126] Version: 0.19.0
I0614 20:42:54.445785 3424 sched.cpp:222] New master detected at master@127.0.1.1:5050
I0614 20:42:54.446276 3424 sched.cpp:230] No credentials provided. Attempting to register without authentication
I0614 20:42:54.450227 3424 sched.cpp:397] Framework registered with 20140614-194745-16842879-5050-1216-0006
Registered with framework ID 20140614-194745-16842879-5050-1216-0006
Got 1 resource offers
Got resource offer 20140614-194745-16842879-5050-1216-610
Accepting offer on 10.141.141.10 to start task 0
Task 0 is in state 1
Task 0 is in state 2
Got 1 resource offers
Got resource offer 20140614-194745-16842879-5050-1216-612
Accepting offer on 10.141.141.10 to start task 1
Received message: 'data with a \x00 byte'
Task 1 is in state 1
Task 1 is in state 2
Received message: 'data with a \x00 byte'
Got 1 resource offers
Got resource offer 20140614-194745-16842879-5050-1216-613
Accepting offer on 10.141.141.10 to start task 2
Task 2 is in state 1
Task 2 is in state 2
Received message: 'data with a \x00 byte'
Got 1 resource offers
Got resource offer 20140614-194745-16842879-5050-1216-614
Accepting offer on 10.141.141.10 to start task 3
Task 3 is in state 1
Task 3 is in state 2
Received message: 'data with a \x00 byte'
Got 1 resource offers
Got resource offer 20140614-194745-16842879-5050-1216-615
Accepting offer on 10.141.141.10 to start task 4
Task 4 is in state 1
Task 4 is in state 2
All tasks done, waiting for final framework message
Received message: 'data with a \x00 byte'
All tasks done, and all messages received, exiting
I0614 20:43:00.662730 3428 sched.cpp:730] Stopping framework '20140614-194745-16842879-5050-1216-0006'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment