Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Resolved
-
1.0.1
-
None
-
None
-
None
-
CentOS Linux release 7.2.1511 (Core)
Description
I have an application compiled within a docker environment called ubuntu-mesos:0.11-17102016-IUWT. I've defined the executor for said application with the following code:
val iuwtURI = CommandInfo.URI.newBuilder().setValue("http://***/
IUWT.tar.gz").setExtract(true).setCache(false).build()
val iuwtjURI = CommandInfo.URI.newBuilder().setValue("http://***/
iuwtExecutor-assembly-0.1-
SNAPSHOT.jar").setExecutable(false).setCache(false).build()
val iuwtExec = "java -jar iuwtExecutor-assembly-0.1-SNAPSHOT.jar -
Xmx1024M -Xmx128M"
val iuwtCommand =
CommandInfo.newBuilder.setValue(iuwtExec).addAllUris(List(iuwtjURI,
iuwtURI).asJava).setShell(true).build()
val iuwtImageInfo =
Image.newBuilder().setType(Image.Type.DOCKER).setDocker(Image.Docker.newBuilder.setName("ubuntu-
mesos:0.11-17102016-IUWT").build()).build()
val iuwtContInfo =
ContainerInfo.MesosInfo.newBuilder().setImage(iuwtImageInfo).build()
val iuwtContainer = ContainerInfo.newBuilder()
.setMesos(iuwtContInfo)
.setType(ContainerInfo.Type.MESOS)
.build()
val iuwtExecutor = ExecutorInfo.newBuilder()
.setCommand(iuwtCommand)
.setContainer(iuwtContainer)
.setExecutorId(ExecutorID.newBuilder().setValue("iuwt-executor"))
.setName("iuwt-executor").build()
My executor then downloads some additional data and then tries to launch the application with the input data. Unfortunately, the application fails to launch because "exec: error while loading shared libraries: libtiff.so.5: cannot open shared object file: No such file or directory". I've attached logs showing libtiff.so.5 is both in /usr/lib/x86_64-linux-gnu, but also in /usr/lib.
Attachments
Attachments
Issue Links
- duplicates
-
MESOS-6360 The handling of whiteout files in provisioner is not correct.
- Resolved