[
https://issues.apache.org/jira/browse/MESOS-7474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16482300#comment-16482300
]
Jordan Sheinfeld commented on MESOS-7474:
-----------------------------------------
Happens to me as well, on version 1.4.0:
Build: 2017-09-18 20:58:29 by centos I0521
Version: 1.4.0
Git tag: 1.4.0
Git SHA: b3fd2e7ab26e118222fe18af4b92c53a3c01e6cc
> Mesos Fetcher Cache Doesn't Retry when Missed
> ---------------------------------------------
>
> Key: MESOS-7474
> URL: https://issues.apache.org/jira/browse/MESOS-7474
> Project: Mesos
> Issue Type: Bug
> Components: fetcher
> Affects Versions: 1.2.0
> Reporter: Miguel Bernadin
> Assignee: Joseph Wu
> Priority: Major
> Labels: mesosphere
>
> Mesos Fetcher doesn't retry when a cache is missed. It needs to have the
> ability to pull from source when it fails.
> 421 15:52:53.022902 32751 fetcher.cpp:498] Fetcher Info:
> {"cache_directory":"\/tmp\/mesos\/fetch\/slaves\/<slaveid>","items":[\{"action":"RETRIEVE_FROM_CACHE","cache_filename":"<file.name.tar.gz>)","uri":\{"cache":true,"executable":false,"extract":true,"value":"https:\/\/<file.path.s3.amazonaws.com>\/<file.name.tar.gz>"}}],"sandbox_directory":"\/var\/lib\/mesos\/slave\/slaves\/<slaveid>\/frameworks\<frameworkid>\/executors\/name\/runs\/<id>"}
>
> I0421 15:52:53.024926 32751 fetcher.cpp:409] Fetching URI
> '"https:\/\/<file.path.s3.amazonaws.com>\/<file.name.tar.gz>"
> I0421 15:52:53.024942 32751 fetcher.cpp:306] Fetching from cache
> I0421 15:52:53.024958 32751 fetcher.cpp:84] Extracting with command: tar -C
> "\/var\/lib\/mesos\/slave\/slaves\/<slaveid>\/frameworks\<frameworkid>\/executors\/name\/runs\/<id>'
> -xf
> '/tmp/mesos/fetch/slaves/f3feeab8-a2fe-4ac1-afeb-ec7bd4ce7b0d-S29/c1-docker-hub.tar.gz'
>
> tar: /"https:\/\/<file.path.s3.amazonaws.com>\/<file.name.tar.gz>": Cannot
> open: No such file or directory
> tar: Error is not recoverable: exiting now
> Failed to fetch
> '"https:\/\/<file.path.s3.amazonaws.com>\/<file.name.tar.gz>"': Failed to
> extract: command tar -C
> '"\/var\/lib\/mesos\/slave\/slaves\/<slaveid>\/frameworks\<frameworkid>\/executors\/name\/runs\/<id>'
> -xf '/tmp/mesos/fetch/slaves/<file.name.tar.gz>"' exited with status: 512
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)