[jira] [Commented] (MESOS-6404) My program cannot access a .so file while being run with mesos containerization on a docker image.

2016-10-19 Thread Jie Yu (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15589198#comment-15589198
 ] 

Jie Yu commented on MESOS-6404:
---

Resolve this ticket. Please follow MESOS-6360 for the fix.

> 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: Dockerfile, IUWT_140926aR_t000_ch00.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)


[jira] [Commented] (MESOS-6404) My program cannot access a .so file while being run with mesos containerization on a docker image.

2016-10-18 Thread Mark Hammons (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15585405#comment-15585405
 ] 

Mark Hammons commented on MESOS-6404:
-

I would attach the original image, but it's massive and I don't have a 
dockerfile for it.

> 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: Dockerfile, IUWT_140926aR_t000_ch00.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)


[jira] [Commented] (MESOS-6404) My program cannot access a .so file while being run with mesos containerization on a docker image.

2016-10-18 Thread Mark Hammons (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15584911#comment-15584911
 ] 

Mark Hammons commented on MESOS-6404:
-

As you suggested, creating a fresh docker file without rm (which I've attached) 
eliminates this issue.

> 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: Dockerfile, IUWT_140926aR_t000_ch00.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)


[jira] [Commented] (MESOS-6404) My program cannot access a .so file while being run with mesos containerization on a docker image.

2016-10-17 Thread Mark Hammons (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15583256#comment-15583256
 ] 

Mark Hammons commented on MESOS-6404:
-

tomorrow I will make an image based off a pure docker file (no deletions or 
anything), and post the dockerfile here if I'm still having the issue.

> 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.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)


[jira] [Commented] (MESOS-6404) My program cannot access a .so file while being run with mesos containerization on a docker image.

2016-10-17 Thread Mark Hammons (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15583252#comment-15583252
 ] 

Mark Hammons commented on MESOS-6404:
-

I do not use rm in the original docker file, but I do use apt-get remove and my 
current docker image is made based off commits that have had rm in them I'm 
pretty sure. Would that be related?

> 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.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)


[jira] [Commented] (MESOS-6404) My program cannot access a .so file while being run with mesos containerization on a docker image.

2016-10-17 Thread Jie Yu (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15582640#comment-15582640
 ] 

Jie Yu commented on MESOS-6404:
---

Does your Dockerfile has 'rm' (deletion of files)?

There is a known issue related to whiteout handling, which we're fixing right 
now.

> 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.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)