Lokendra Malik created MESOS-5849:
-------------------------------------

             Summary: Mesos agent service is crashed on windows when we deploy 
any application
                 Key: MESOS-5849
                 URL: https://issues.apache.org/jira/browse/MESOS-5849
             Project: Mesos
          Issue Type: Bug
          Components: slave
         Environment: Windows Server 2012, Windows Server 2016 RC
            Reporter: Lokendra Malik


When I tried to deploy an application on mesos-agent(windows), the moment 
application is deployed mesos agent service on windows node is crashed and in 
logs I can see error:
I0714 07:20:09.788785  5640 containerizer.cpp:781] Starting container 
'031878d5-32fa-41ed-8b23-d0d91fe34f05' for executor 
'windemo.10cc3e54-49ce-11e6-a2a2-08002786cbbf' of framework 
'5c83c39f-75a0-4f38-9e47-633767b47976-0000'
F0714 07:20:09.797576  5480 slave.cpp:6174] CHECK_SOME(state::checkpoint(path, 
t)): Failed to create directory 
'E:\agentlogs\meta\slaves\803264d5-8f2d-46bb-8019-de0f9565c971-S5\frameworks\5c83c39f-75a0-4f38-9e47-633767b47976-0000\executors\windemo.10cc3e54-49ce-11e6-a2a2-08002786cbbf\runs\031878d5-32fa-41ed-8b23-d0d91fe34f05\tasks\windemo.10cc3e54-49ce-11e6-a2a2-08002786cbbf':
 No such file or directory

We debug the issue and found issue with fine name reached to max filepath 
length: 
E:\agentlogs\meta\slaves\803264d5-8f2d-46bb-8019-de0f9565c971-S5\frameworks\5c83c39f-75a0-4f38-9e47-633767b47976-0000\executors\windemo.10cc3e54-49ce-11e6-a2a2-08002786cbbf\runs\031878d5-32fa-41ed-8b23-d0d91fe34f05\tasks\windemo.10cc3e54-49ce-11e6-a2a2-08002786cbbf

I think path length limit in windows is 256 which is revoked and this made 
service to be crashed while this will work fine for linux mesos agents so we 
may have to control current UUID.toString() method to be shorter



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to