Miguel Bernadin created MESOS-9233:
--------------------------------------
Summary: Mesos Fetcher failes for windows with linux tars
Key: MESOS-9233
URL: https://issues.apache.org/jira/browse/MESOS-9233
Project: Mesos
Issue Type: Bug
Components: fetcher
Reporter: Miguel Bernadin
When trying to extract a linux tar on windows, tar fails with the command below:
{code}
tar xf server-jre-8u162-linux-x64.tar
jdk1.8.0_162/man/ja: Can't create
'\\\\?\\C:\\Users\\andrew\\Downloads\\jdk1.8.0_162\\man\\ja'
jdk1.8.0_162/jre/lib/amd64/server/libjsig.so: Can't create
'\\\\?\\C:\\Users\\andrew\\Downloads\\jdk1.8.0_162\\jre\\lib\\amd64\\server\\libjsig.so'
tar.exe: Error exit delayed from previous errors.
{code}
[~andschwa] has found that someone has attempted to get this to work for
windows which should resolve this problem for Mesos.
https://github.com/libarchive/libarchive/pull/1030
Marathon app def to reproduce as well:
{code:java}
{
"id": "/sleep",
"backoffFactor": 1.15,
"backoffSeconds": 1,
"cmd": "powershell -c start-sleep 999",
"container": {
"type": "MESOS",
"volumes": []
},
"cpus": 0.1,
"disk": 0,
"fetch": [
{
"uri":
https://downloads.mesosphere.com/java/server-jre-8u162-linux-x64.tar.gz",
"extract": true,
"executable": false,
"cache": false
}
],
"instances": 1,
"maxLaunchDelaySeconds": 3600,
"mem": 128,
"gpus": 0,
"networks": [
{
"mode": "host"
}
],
"portDefinitions": [],
"requirePorts": false,
"upgradeStrategy": {
"maximumOverCapacity": 1,
"minimumHealthCapacity": 1
},
"killSelection": "YOUNGEST_FIRST",
"unreachableStrategy": {
"inactiveAfterSeconds": 0,
"expungeAfterSeconds": 0
},
"healthChecks": [],
"constraints": []
}{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)