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

Tom Arnfeld updated MESOS-1241:
-------------------------------

    Description: 
Due to the implementation of the {code}mesos-fetcher{code} 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 
{code}extract{code} field to the {code}CommandInfo.URI{code} protobuf object, 
with a default value of {code}true{code}.

{code}
message URI {
  required string value = 1;
  optional bool executable = 2;
  optional bool extract = 3 [default = true];
}
{code}

  was:
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}


> 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
>
> Due to the implementation of the {code}mesos-fetcher{code} 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 
> {code}extract{code} field to the {code}CommandInfo.URI{code} protobuf object, 
> with a default value of {code}true{code}.
> {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