You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2016/05/23 17:01:12 UTC

[jira] [Commented] (MESOS-5442) Stuck when extracting two archive contains overlapped file structure

    [ https://issues.apache.org/jira/browse/MESOS-5442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15296651#comment-15296651 ] 

Jie Yu commented on MESOS-5442:
-------------------------------

I just backported the patch to 0.28.x branch.

> Stuck when extracting two archive contains overlapped file structure
> --------------------------------------------------------------------
>
>                 Key: MESOS-5442
>                 URL: https://issues.apache.org/jira/browse/MESOS-5442
>             Project: Mesos
>          Issue Type: Bug
>          Components: fetcher
>    Affects Versions: 0.28.1
>            Reporter: Timon Wong
>            Priority: Minor
>
> Provided we have two zip files:
> {code}
> aaa.zip:
>   - conf/aaa.conf  # Overlapped file structure
>   - aaa
> aaa-patch.zip:
>   - conf/aaa.conf  # Overlapped file structure
> {code}
> Then we create a marathon task for it:
> {code:javascript}
> {
>   // ...
>   "uris": [
>     "http://XXXXX/aaa.zip",
>     "http://XXXXX/aaa-patch.zip"
>   ]
> }
> {code}
> Then after the `aaa.zip` was extracted, it get stuck when trying to extracting `aaa-patch.zip`, the log will finally look like:
> {code}
> I0522 01:23:05.618922 25041 fetcher.cpp:134] Downloading resource from 'http://XXXXX/aaaa-patch.zip' to '/var/lib/<excerpted>/aaaa-patch.zip'
> I0522 01:23:05.624514 25041 fetcher.cpp:84] Extracting with command: unzip -d '/var/lib/<excerpted>' '/var/lib/<excerpted>/aaa-patch.zip'
> replace /var/lib/<excerpted>/conf/aaa.conf? [y]es, [n]o, [A]ll, [N]one, [r]ename: 
> {code}



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