Joshua,

Thanks a lot for your fast reply. I added the —announcer-ensemble flag and 
everything started to work as expected !
Just a thought : wouldn’t it be simpler if this flag was set by default with 
the same value as the -zk_endpoint flag ?

Cheers,
Adrian

> Le 12 mai 2016 à 18:20, Joshua Cohen <[email protected]> a écrit :
> 
> Yes, there is, in fact, some more tuning to be done! The executor takes a 
> command line flag, --announcer-ensemble, which should be the host:port of 
> your ZK ensemble where tasks should be announced. You can configure the flags 
> passed to the executor when its launched via the -thermos_executor_flags 
> (see: 
> https://github.com/apache/aurora/blob/master/docs/reference/scheduler-configuration.md
>  
> <https://github.com/apache/aurora/blob/master/docs/reference/scheduler-configuration.md>
>  for all scheduler args) argument on the scheduler.
> 
> If you look at the aurora-scheduler.conf we use for our vagrant image, you 
> can see an example of wiring this all together: 
> https://github.com/apache/aurora/blob/master/examples/vagrant/upstart/aurora-scheduler.conf#L45
>  
> <https://github.com/apache/aurora/blob/master/examples/vagrant/upstart/aurora-scheduler.conf#L45>.
> 
> Cheers,
> 
> Joshua
> 
> On Thu, May 12, 2016 at 10:26 AM, Adrian Fraisse <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi dear Aurora friends !
> 
> I need to deploy services on Aurora with inter-dependencies between them. I 
> am looking into using Aurora’s service discovery feature in conjonction with 
> tellapart/aurproxy (https://github.com/tellapart/aurproxy 
> <https://github.com/tellapart/aurproxy>) to allow my services to find each 
> other.
> 
> However, I cannot get things to work. It seems that despite the fact that I 
> use an Announcer object inside my configuration, Aurora doesn’t register my 
> tasks into Zookeeper.
> 
> I have read the documentation over and over. Something bugs me in the 
> Announcer object’s documentation : each task will be registered in the 
> ServerSet /aurora/role/environment/jobname in the zookeeper ensemble 
> configured by the executor. What is « the zookeeper ensemble configured by 
> the executor » ? Does that mean there is some more tuning to be done on 
> thermos in order to perform service discovery ?
> 
> Any though would be greatly appreciated !
> 
> Thanks.
> Adrian
> 

Reply via email to