Hey David,
I get an identical exception here here w/ zookeeper version
3.2.2. Because I'm crazy that way I also tried to call the ref "/r0/"
(just to see) and the exception came up. However it was different in
that with "/r0/" I got the usual exception handling in emacs, whereas
with "/r0" it just reported the exception in the repl, and then returned
nil.
Edmund
On 01/12/2011 15:04, Sam Aaron wrote:
> Hi David,
>
> I'm super excited by Avout. It seems *better* than magic in that it not only
> appears to make complicated things possible, but also in a conceptually
> transparent way. Crazy cool.
>
> I'm about to look into this in detail, but I thought I'd just post an issue
> I'm having with the basic example just on the off-chance that I'm doing
> something obviously wrong.
>
> I have zookeeper 3.3.3 installed running on port 2181 with a valid dataDir
> path with the appropriate permissions. I'm got avout 0.5.0 and in a REPL
> session I do the following:
>
> ; SLIME 2009-10-15
>
> user> (use 'avout.core)
>
> nil
>
> user> (def client (connect "127.0.0.1"))
>
> #'user/client
>
> user> (def r0 (zk-ref client "/r0" 0))
>
> run-in-transaction exception: #<IllegalArgumentException
> java.lang.IllegalArgumentException: Path must not end with / character> nil
> #'user/r0
>
> user> r0
>
> #<DistributedReference@761b2f32: nil>
>
> user> @r0
>
> nil
>
>
> Sam
>
> ---
> http://sam.aaron.name
>
>
> On 29 Nov 2011, at 17:38, liebke wrote:
>
>> Today we are releasing Avout, which brings Clojure's in-memory model
>> of state to distributed application development by providing a
>> distributed implementation of Clojure's Multiversion Concurrency
>> Control (MVCC) STM along with distributable, durable, and extendable
>> versions of Clojure's Atom and Ref concurrency primitives.
>>
>> Here's the post announcing the project:
>> http://clojure.com/blog/2011/11/29/avout.html
>>
>> And here's the project's website: http://avout.io
>>
>>
>> David
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to [email protected]
>> Note that posts from new members are moderated - please be patient with your
>> first post.
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en