[jira] [Commented] (MESOS-5535) Add usage examples to persistent volume docs

2016-06-09 Thread Gianluca (JIRA)

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

Gianluca commented on MESOS-5535:
-

A possible use case:

Two disk, of type MOUNT, in role (*):
- /mnt/volume0 -> mounted to ssd disk, small and fast disk
- /mnt/volume1 -> mounted to big and slow disk

Two frameworks:
- frameworkA to use /mnt/volume0 (eg. kafka)
- frameworkB to use /mnt/volume1 (eg. elasticsearch)

Explain how to constrain FrameworkA to use disk /mnt/volume0 with dynamic 
reservation

> Add usage examples to persistent volume docs
> 
>
> Key: MESOS-5535
> URL: https://issues.apache.org/jira/browse/MESOS-5535
> Project: Mesos
>  Issue Type: Documentation
>  Components: documentation
>Reporter: Neil Conway
>  Labels: documentation, mesosphere, persistent-volumes
>
> In particular, we should document how to use persistent volumes with docker 
> containers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MESOS-4587) Docker environment variables must be able to contain the equal sign

2016-03-31 Thread Gianluca (JIRA)

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

Gianluca commented on MESOS-4587:
-

It is not fixed in 0.27.2

> Docker environment variables must be able to contain the equal sign
> ---
>
> Key: MESOS-4587
> URL: https://issues.apache.org/jira/browse/MESOS-4587
> Project: Mesos
>  Issue Type: Bug
>  Components: docker
>Affects Versions: 0.25.0, 0.26.0, 0.27.0
>Reporter: Martin Tapp
>Assignee: Shuai Lin
>  Labels: containerizer
> Fix For: 0.27.1, 0.28.0
>
>
> Note: Affects 0.26 and 0.27.
> The Jupyter Docker all-spark-notebook uses equal sign ('=') in Docker ENV 
> declarations (for instance, 
> https://github.com/jupyter/docker-stacks/blob/master/all-spark-notebook/Dockerfile#L51).
> This causes a mesos Unexpected Env format for 'ContainerConfig.Env' error.
> The problem is the tokenization code at 
> https://github.com/apache/mesos/blob/21e080c5ae6ef03556c7a2b588e034a916c7a05a/src/docker/docker.cpp#L386
>  which needs to only look at the first equal sign. Docker ENV declarations 
> can also be empty.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)