Hi Tamer,

really great project you have going on here.

I skimmed through the code and I do not see that your started nodes join a
cluster. There should be either seed nodes set in the configuration, or you
should manually join cluster with Cluster(system).join(address).


On Fri, Jul 11, 2014 at 2:21 AM, Tamer Abdul-Radi <[email protected]>
wrote:

> Hello all,
> I am learning Akka IO, Akka persistance and Akka Cluster Sharding on a one pet
> project called "redikka" <https://github.com/tabdulradi/redikka> (Trying
> to implement Redis server protocol).
> I followed activator template "akka-cluster-sharding-scala", but I
> modified alot. Now I am blocked and I need help.
>
> In my Main.scala
> <https://github.com/tabdulradi/redikka/blob/master/redikka-tcp/src/main/scala/Main.scala>,
> I create 3 Actor systems, I call ClusterSharding(system).start on each of
> them, the Sharding start code is written in Redikka.scala
> <https://github.com/tabdulradi/redikka/blob/master/redikka-core/src/main/scala/Redikka.scala>
>
> When I test the application, by running:
>
>> sbt redikka-tcp/run
>>
> then after waiting until the server starts listening, I run:
>
>> sbt redikka-tests/test
>>
>
> Everything works as expected until I reach this log message:
>
> [DEBUG] [07/11/2014 00:50:42.704]
>> [ClusterSystem-akka.actor.default-dispatcher-2] [akka.tcp://
>> [email protected]:49393/user/sharding/RedikkaValueHolder] Request
>> shard [79] home
>>
> Then nothing happens! I don't see any logs from my Persistent Actor (
> ValueHolder.scala
> <https://github.com/tabdulradi/redikka/blob/master/redikka-core/src/main/scala/ValueHolder.scala>),
> It didn't get created.
>
> I can't see what I did wrong here, any help/notes will be very appreciated
> Thanks in advance.
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Martynas Mickevičius
Typesafe <http://typesafe.com/> – Reactive
<http://www.reactivemanifesto.org/> Apps on the JVM

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to