Thanks Roman, that PR seems to do the trick! On Sat, Apr 6, 2019 at 3:53 AM Roman Leventov <leventov...@gmail.com> wrote:
> There is a PR which adds a very similar thing (/selfDiscovered endpoint) > that could probably be used for your purpose: > https://github.com/apache/incubator-druid/pull/6702. > > On Fri, 5 Apr 2019 at 23:23, Julian Jaffe <jja...@pinterest.com.invalid> > wrote: > > > Hey all, > > > > I'm looking to add readiness checks to coordinator and overlord nodes to > > improve automatic deployment of clusters. More specifically, I'm planning > > to add an endpoint to the coordinator and overlord that returns 200 OK > when > > the node is ready to process lookup/tiering rules/supervisorspec/etc. > > requests. My first thought is to add another module and bind at the > > Stage.ANNOUNCEMENT stage. Is there any downside to this approach, or were > > readiness checks for historicals implemented differently for historical > > reasons? > > > > Thanks, > > Julian > > >