Skip to main content

setup mesos 1.0.1 on centos 7

following the guide at https://mesos.apache.org/gettingstarted/

if you met the following issue, need hack it to change the Version: 2012d to 2012 in file pytz-2012d-py2.7.egg-info


pkg_resources.VersionConflict: (pytz 2012d (/usr/lib/python2.7/site-packages), Requirement.parse('pytz>=2010'))

python examples runs ok with mesos 1.0.1

/home/osboxes/mesos/build/3rdparty/setuptools-20.9.0/pkg_resources/__init__.py:1268: UserWarning: /home/osboxes/.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)
I1031 02:04:19.299875 13734 sched.cpp:226] Version: 1.0.1
I1031 02:04:19.312309 13773 sched.cpp:330] New master detected at master@10.88.48.57:5050
I1031 02:04:19.313021 13773 sched.cpp:341] No credentials provided. Attempting to register without authentication
I1031 02:04:19.322294 13773 sched.cpp:743] Framework registered with 6a67bc4f-1339-42e0-97bd-dd3243887c2a-0006
Registered with framework ID 6a67bc4f-1339-42e0-97bd-dd3243887c2a-0006
Received offer 6a67bc4f-1339-42e0-97bd-dd3243887c2a-O15 with cpus: 1.0 and mem: 6609.0
Launching task 0 using offer 6a67bc4f-1339-42e0-97bd-dd3243887c2a-O15
Task 0 is in state TASK_RUNNING
Task 0 is in state TASK_FINISHED
Received message: 'data with a \x00 byte'
Received offer 6a67bc4f-1339-42e0-97bd-dd3243887c2a-O16 with cpus: 1.0 and mem: 6609.0
Launching task 1 using offer 6a67bc4f-1339-42e0-97bd-dd3243887c2a-O16
Task 1 is in state TASK_RUNNING
Task 1 is in state TASK_FINISHED
Received message: 'data with a \x00 byte'
Received offer 6a67bc4f-1339-42e0-97bd-dd3243887c2a-O17 with cpus: 1.0 and mem: 6609.0
Launching task 2 using offer 6a67bc4f-1339-42e0-97bd-dd3243887c2a-O17
Task 2 is in state TASK_RUNNING
Task 2 is in state TASK_FINISHED
Received message: 'data with a \x00 byte'
Received offer 6a67bc4f-1339-42e0-97bd-dd3243887c2a-O18 with cpus: 1.0 and mem: 6609.0
Launching task 3 using offer 6a67bc4f-1339-42e0-97bd-dd3243887c2a-O18
Task 3 is in state TASK_RUNNING
Task 3 is in state TASK_FINISHED
Received message: 'data with a \x00 byte'
Received offer 6a67bc4f-1339-42e0-97bd-dd3243887c2a-O19 with cpus: 1.0 and mem: 6609.0
Launching task 4 using offer 6a67bc4f-1339-42e0-97bd-dd3243887c2a-O19
Task 4 is in state TASK_RUNNING
Task 4 is in state TASK_FINISHED
All tasks done, waiting for final framework message
Received message: 'data with a \x00 byte'
All tasks done, and all messages received, exiting
I1031 02:04:26.495678 13773 sched.cpp:1987] Asked to stop the driver
I1031 02:04:26.495754 13773 sched.cpp:1187] Stopping framework '6a67bc4f-1339-42e0-97bd-dd3243887c2a-0006'

I1031 02:04:26.497079 13734 sched.cpp:1987] Asked to stop the driver


Comments

Popular posts from this blog

spring 2.0 bean scope

singleton Scopes the bean definition to a single instance per Spring container (default). prototype Allows a bean to be instantiated any number of times (once per use). request Scopes a bean definition to an HTTP request. Only valid when used with a web capable Spring context (such as with Spring MVC). session Scopes a bean definition to an HTTP session. Only valid when used with a webcapableSpring context (such as with Spring MVC). global-session Scopes a bean definition to a global HTTP session. Only valid when used in a portlet context.

Crocs sandals

Suddenly one special looking sandals get popular. The brand is Crocs. It even opens a brand store at Marina Square. The design idea is from Dutch wooden shoes, I guess. A pair of Crocs sandals is sold at around SGD 50. The price is justified for what it is made of - Croslite. Based on Crocs website, "Croslite™, a proprietary Closed Cell Resin (PCCR) which is NOT plastic NOR rubber. Croslite™ is closed-cell in nature and anti-microbial, which virtually eliminates odor. it is an extraordinary impact absorbing resin material developed for maximum cushioning. its closed cell properties resist odor, inhibits bacterial and fungal growth and are non toxic. this versatile material can be worn next to skin and be cleaned with just soap and water." However, it really looks like made of plastic or rubber, and the design is unique. Replica comes. they are sold at SGD 20, SGD 10, SGD 5 depending on quality.

Singapore Girl Sex Clip Posted Online

A couple days ago, a sex video clip about a female Chinese graduate student Wang Ting Ting (王婷婷) was posted on the internet. Just as it is about to cool down, another sex video clip pops. It is a sex clip of a Singapore Nanyang Polytechnic student . The video clip was stored on her cell phone. Someone stole it and posted the video clip on the Internet. This is a breaking news. It is even reported on major Singapore and Malaysia newspapers. Now we have so many cool gadgets. It is a breeze to shoot photos/videos, and share them on the internet. Everyone, even dog, is on the internet waiting for breaking news. Be careful when you do something secret or stupid. It may appear all over the world, live!

No smoking sign

Watch out this sign before you light the cigarette up. SGD 1000 fine! However, I wonder if someone had really paid so much for violation.

Prostitutes in Singapore

Singapore is very realistic about this issue. Prostitution is legal. The famous red light zone is Geylang area. I heard Hong Kong officials are considering to legalize this business in HK also. Singaporeans are not allow to work as prostitute. Maybe also SPR. The prostitutes are mainly foreign workers from poor countries in SEA area, such as Indonesia, Thailand, India, Malaysia, not from China. They come under special 2-year working pass, and must pass the health exam, yes, to prevent STD such as HIV, AIDS and so on. The brothels are mixed with normal resident houses. The brothel's house number is red lighted. The price is ranged from SGD 50 to SGD 200. Illegal sex workers are also around, and in some massage clinics. A very recent fatal case and newly effective government policy make a special social group - Chinese accompanying mom for studying kids a hot media buzz again.