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

Benjamin Hindman resolved MESOS-1241.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.19.0

commit f41c8242f67b77a110f02d7b3f5909ec72dc9641
Author: Tom Arnfeld <[email protected]>
Date:   Fri Apr 25 12:04:37 2014 -0700

    Add a new boolean CommandInfo.URI.extract.
    
    This is a patch that includes a new `extract` boolean value on
    CommandInfo.URI to toggle the auto-extraction of compressed archives
    when shipping URIs with an executor or task.
    
    It's worth noting that this changes the behaviour of the
    MESOS_EXECUTOR_URI environment variable used. I've added some comments
    which outlines the expected format, instead of (e.g)
    hdfs://foobar/testing.tar.gz+0 (1 signifying it's not executable)
    there is now an extra flag on the end (X or N) defining whether to
    auto-extract or not, resulting in hdfs://foobar/testing.tar.gz+0X by
    default.
    
    Review: https://reviews.apache.org/r/20674

> Unable to disable the auto-extraction of URIs (mesos-fetcher)
> -------------------------------------------------------------
>
>                 Key: MESOS-1241
>                 URL: https://issues.apache.org/jira/browse/MESOS-1241
>             Project: Mesos
>          Issue Type: Bug
>          Components: slave
>            Reporter: Tom Arnfeld
>            Assignee: Tom Arnfeld
>             Fix For: 0.19.0
>
>
> Due to the implementation of the {{mesos-fetcher}} you're unable to *disable* 
> the feature that extracts a tar file (or various other compressed archives) 
> into the sandbox directory when using the {{CommandInfo.URI}} object.
> Discussed briefly in IRC, a proposed solution is to add a new optional 
> {{extract}} field to the {{CommandInfo.URI}} protobuf object, with a default 
> value of {{true}}.
> {code}
> message URI {
>   required string value = 1;
>   optional bool executable = 2;
>   optional bool extract = 3 [default = true];
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to