You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joseph Wu (JIRA)" <ji...@apache.org> on 2016/07/15 17:54:20 UTC

[jira] [Updated] (MESOS-5849) Agent sandboxes on Windows surpass the 260 character path length limit

     [ https://issues.apache.org/jira/browse/MESOS-5849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Wu updated MESOS-5849:
-----------------------------
    Summary: Agent sandboxes on Windows surpass the 260 character path length limit  (was: Mesos agent service is crashed on windows when we deploy any application)

> Agent sandboxes on Windows surpass the 260 character path length limit
> ----------------------------------------------------------------------
>
>                 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
>              Labels: tech-debt, windows
>         Attachments: Pasted image at 2016_07_14 09_02 PM.png, mesoscrash.jpg
>
>
> 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)