[erlang-questions] Cluster Functional test using Slave Nodes

marcos quesada marcos.quesadas@REDACTED
Mon Aug 4 17:14:03 CEST 2014


Nop, didn't find it. Maybe i'm missing something, but I think that slaves nodes are getting right the path to find all required beams. All slaves are initialized using:
Args = " -pa apps/*/ebin deps/*/ebin -setcookie secret -rsh ssh",
 In fact when I execute cluster_test:cluster_formation() works fine.

What's the difference to use -pz from -pa?

 Thank you!

El lunes, 4 de agosto de 2014 03:01:06 UTC+2, Scott Lystig Fritchie  escribió:
> marcos quesada <marcos.quesadas@REDACTED> wrote:
> 
> 
> 
> mq> **error:{assertEqual_failed,
> 
> mq>     [{module,cluster_test},
> 
> mq>      {line,43},
> 
> mq>      {expression,"Result1"},
> 
> mq>      {expected,ok},
> 
> mq>      {value,
> 
> mq>          {badrpc,
> 
> mq>              {'EXIT',
> 
> mq>                  {undef,
> 
> mq>                      [{cluster,join,[...],...},
> 
> mq>                       {rpc,'-handle_call_call/6-fun-0-',...}]}}}}]}
> 
> 
> 
> Have you found the cause of this error?  If I had to guess, the slave
> 
> node's code_server doesn't know the path to your cluster.beam module.
> 
> If that's true, then appending ["-pz", PathToYourModule] to the Args
> 
> list of slave:start/3 can correct it.
> 
> 
> 
> -Scott
> 
> _______________________________________________
> 
> erlang-questions mailing list
> 
> erlang-questions@REDACTED
> 
> http://erlang.org/mailman/listinfo/erlang-questions

-- 
You received this message because you are subscribed to the Google Groups "Erlang Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erlang-programming+unsubscribe@REDACTED
To post to this group, send email to erlang-programming@REDACTED
Visit this group at http://groups.google.com/group/erlang-programming.
For more options, visit https://groups.google.com/d/optout.



More information about the erlang-questions mailing list