[
https://issues.apache.org/jira/browse/MESOS-5981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406307#comment-15406307
]
Joseph Wu commented on MESOS-5981:
----------------------------------
The example frameworks aren't expected to work on Windows currently, primarily
because we aren't building them on Windows :)
Are you launching the test-framework from inside your Ubuntu VM? The
test-executor is not compiled on Windows. And we definitely are not
cross-compiling it, so the agent probably can't find the executor. And if it
did find the executor, it's not a Windows binary.
> task failed in windows Server 2012 client, test-framwork example
> ----------------------------------------------------------------
>
> Key: MESOS-5981
> URL: https://issues.apache.org/jira/browse/MESOS-5981
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0
> Environment: Master: Ubuntu 14.04 (VirtualBox)
> Agent: Win Server 2012 (VirtualBox)
> Reporter: Sergei
>
> I tried to launch test-framework example. master on ubuntu machine.
> if start agent on ubuntu too, test-framework complete fine.
> but agent can't execute task on windows server 2012.
> agent info log:
> W0803 15:21:55.749181 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> W0803 15:21:55.749181 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> I0803 15:21:55.749181 2972 slave.cpp:1095] Registered with master
> [email protected]:5050; given agent ID
> e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-S3
> I0803 15:21:55.749181 2972 slave.cpp:1155] Forwarding total oversubscribed
> resources
> I0803 15:21:55.749181 2972 status_update_manager.cpp:184] Resuming sending
> status updates
> W0803 15:21:55.811792 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> W0803 15:22:06.905844 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> I0803 15:22:06.921710 2532 slave.cpp:1495] Got assigned task 0 for framework
> e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002
> I0803 15:22:06.921710 2532 slave.cpp:1614] Launching task 0 for framework
> e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002
> I0803 15:22:06.921710 2532 slave.cpp:5764] Launching executor default of
> framework e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002 with resources in work
> directory
> 'C:\TEMP\mesosTemp\slaves\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-S3\frameworks\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002\executors\default\runs\8bc8d68a-e42d-4189-a6d4-de4d7a7be2ab'
> I0803 15:22:06.921710 2532 slave.cpp:1840] Queuing task '0' for executor
> 'default' of framework e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002
> I0803 15:22:06.921710 2532 containerizer.cpp:786] Starting container
> '8bc8d68a-e42d-4189-a6d4-de4d7a7be2ab' for executor 'default' of framework
> e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002
> I0803 15:22:06.936492 2532 launcher.cpp:126] Forked child with pid '2172'
> for container '8bc8d68a-e42d-4189-a6d4-de4d7a7be2ab'
> I0803 15:22:06.936492 2532 containerizer.cpp:1334] Checkpointing executor's
> forked pid 2172 to
> 'C:\TEMP\mesosTemp\meta\slaves\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-S3\frameworks\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002\executors\default\runs\8bc8d68a-e42d-4189-a6d4-de4d7a7be2ab\pids\forked.pid'
> I0803 15:22:07.046447 2532 containerizer.cpp:1878] Executor for container
> '8bc8d68a-e42d-4189-a6d4-de4d7a7be2ab' has exited
> I0803 15:22:07.046447 2532 containerizer.cpp:1637] Destroying container
> '8bc8d68a-e42d-4189-a6d4-de4d7a7be2ab'
> W0803 15:22:07.108556 2532 status_utils.hpp:31] `WSTRINGIFY` has been
> called, but it is not implemented.
> I0803 15:22:07.108556 2532 slave.cpp:4142] Executor 'default' of framework
> e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002
> I0803 15:22:07.108556 2532 slave.cpp:3264] Handling status update
> TASK_FAILED (UUID: 4ef373ff-4f93-4e40-80c4-9335f2b463a5) for task 0 of
> framework e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002 from @0.0.0.0:0
> W0803 15:22:07.108556 2532 containerizer.cpp:1466] Ignoring update for
> unknown container: 8bc8d68a-e42d-4189-a6d4-de4d7a7be2ab
> I0803 15:22:07.108556 2532 status_update_manager.cpp:323] Received status
> update TASK_FAILED (UUID: 4ef373ff-4f93-4e40-80c4-9335f2b463a5) for task 0 of
> framework e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002
> I0803 15:22:07.108556 2532 status_update_manager.cpp:828] Checkpointing
> UPDATE for status update TASK_FAILED (UUID:
> 4ef373ff-4f93-4e40-80c4-9335f2b463a5) for task 0 of framework
> e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002
> I0803 15:22:07.124591 2532 slave.cpp:3657] Forwarding the update TASK_FAILED
> (UUID: 4ef373ff-4f93-4e40-80c4-9335f2b463a5) for task 0 of framework
> e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002 to [email protected]:5050
> I0803 15:22:07.140297 2532 slave.cpp:2218] Asked to shut down framework
> e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002 by [email protected]:5050
> I0803 15:22:07.140297 2532 slave.cpp:2243] Shutting down framework
> e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002
> I0803 15:22:07.140297 2532 slave.cpp:4246] Cleaning up executor 'default' of
> framework e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002
> I0803 15:22:07.140297 2532 slave.cpp:4334] Cleaning up framework
> e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002
> I0803 15:22:07.140297 2532 gc.cpp:55] Scheduling
> 'C:\TEMP\mesosTemp\slaves\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-S3\frameworks\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002\executors\default\runs\8bc8d68a-e42d-4189-a6d4-de4d7a7be2ab'
> for gc 6.99998680210667days in the future
> I0803 15:22:07.140297 2532 gc.cpp:55] Scheduling
> 'C:\TEMP\mesosTemp\slaves\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-S3\frameworks\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002\executors\default'
> for gc 6.99998680210667days in the future
> I0803 15:22:07.155447 2532 gc.cpp:55] Scheduling
> 'C:\TEMP\mesosTemp\meta\slaves\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-S3\frameworks\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002\executors\default\runs\8bc8d68a-e42d-4189-a6d4-de4d7a7be2ab'
> for gc 6.99999837618074days in the future
> I0803 15:22:07.155447 2532 gc.cpp:55] Scheduling
> 'C:\TEMP\mesosTemp\meta\slaves\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-S3\frameworks\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002\executors\default'
> for gc 6.99998680210667days in the future
> I0803 15:22:07.155447 2532 gc.cpp:55] Scheduling
> 'C:\TEMP\mesosTemp\slaves\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-S3\frameworks\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002'
> for gc 6.99998680210667days in the future
> I0803 15:22:07.155447 2532 gc.cpp:55] Scheduling
> 'C:\TEMP\mesosTemp\meta\slaves\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-S3\frameworks\e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002'
> for gc 6.99998680210667days in the future
> I0803 15:22:07.155447 2532 status_update_manager.cpp:285] Closing status
> update streams for framework e1b7f9cc-c8df-492d-9e28-9b1c1423ed83-0002
> W0803 15:22:07.155447 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> W0803 15:22:10.749379 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> W0803 15:22:25.764667 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> W0803 15:22:40.764840 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> I0803 15:22:55.671165 2972 slave.cpp:4644] Current disk usage 53.23%. Max
> allowed age: 2.573651914356146days
> agent warn log:
> E0803 15:21:55.702635 2532 slave.cpp:850] Failed to attach file
> 'C:\TEMP\mesosLogs\mesos-agent.exe.INFO': Failed to access
> 'C:\TEMP\mesosLogs\mesos-agent.exe.INFO': No such file or directory
> W0803 15:21:55.733256 2972 fcntl.hpp:30] `os::cloexec` has been called, but
> is a no-op on Windows
> W0803 15:21:55.733256 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> W0803 15:21:55.749181 2468 fcntl.hpp:30] `os::cloexec` has been called, but
> is a no-op on Windows
> W0803 15:21:55.749181 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> W0803 15:21:55.749181 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> W0803 15:21:55.811792 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> W0803 15:22:06.905844 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> W0803 15:22:07.108556 2532 status_utils.hpp:31] `WSTRINGIFY` has been
> called, but it is not implemented.
> W0803 15:22:07.108556 2532 containerizer.cpp:1466] Ignoring update for
> unknown container: 8bc8d68a-e42d-4189-a6d4-de4d7a7be2ab
> W0803 15:22:07.155447 2468 fcntl.hpp:82] `os::isNonblock` has been called,
> but is a stub on Windows
> executor stderr & stdout is empty.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)