Mark Hammons created MESOS-6404: ----------------------------------- Summary: My program cannot access a .so file while being run with mesos containerization on a docker image. Key: MESOS-6404 URL: https://issues.apache.org/jira/browse/MESOS-6404 Project: Mesos Issue Type: Bug Affects Versions: 1.0.1 Environment: CentOS Linux release 7.2.1511 (Core)
Reporter: Mark Hammons Priority: Minor Attachments: IUWT_140926aR_t000_ch00.vtk.gz(2).log 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)