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

Ken Sipe commented on MESOS-1635:
---------------------------------

I've just tested all the mesos master and slave flags.  another challenge is 
that this is the only flag that takes a path to a file which requires the 
file:// protocol prefix.  It would be nice to be consistent with other path 
flags allowing just the path --zk=/etc/mesos/zk for example.

> zk flag fails when specifying a file and the 
> ---------------------------------------------
>
>                 Key: MESOS-1635
>                 URL: https://issues.apache.org/jira/browse/MESOS-1635
>             Project: Mesos
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.19.1
>         Environment: Linux ubuntu 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 
> 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Ken Sipe
>
> The zk flag supports referencing a file.  It works  when registry is 
> in_memory, however in a "real" environment it fails.
> the following starts up just fine.
> /usr/local/sbin/mesos-master --zk=file:///etc/mesos/zk --registry=in_memory
> however when the follow is executed it fails:
>  /usr/local/sbin/mesos-master --zk=file:///etc/mesos/zk --quorum=1 
> --work_dir=/tmp/mesos
> It uses the same working format for the zk flag, but now we are using the 
> replicated logs. it fails with:
> I0723 19:24:34.755506 39856 main.cpp:150] Build: 2014-07-18 18:50:58 by root
> I0723 19:24:34.755580 39856 main.cpp:152] Version: 0.19.1
> I0723 19:24:34.755591 39856 main.cpp:155] Git tag: 0.19.1
> I0723 19:24:34.755601 39856 main.cpp:159] Git SHA: 
> dc0b7bf2a1a7981079b33a16b689892f9cda0d8d
> Error parsing ZooKeeper URL: Expecting 'zk://' at the beginning of the URL



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to