more backwards compatability fix

This commit is contained in:
fjy 2014-01-26 21:27:34 +08:00
parent 7800dac7f7
commit 8edf0cf136
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ class CoordinatorJettyServerInitializer implements JettyServerInitializer
root.addFilter(GuiceFilter.class, "/status/*", null);
root.addFilter(GuiceFilter.class, "/info/*", null);
root.addFilter(GuiceFilter.class, "/druid/coordinator/*", null);
// this will be removed in the next major release
root.addFilter(GuiceFilter.class, "/coordinator/*", null);
HandlerList handlerList = new HandlerList();
handlerList.setHandlers(new Handler[]{root});