From f847a46ccfda8570ba72e91da9cdd614cc8a5506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Tue, 22 Jul 2014 15:37:48 -0700 Subject: [PATCH] fix typo --- .../main/java/io/druid/storage/s3/S3DataSegmentMover.java | 2 +- .../main/java/io/druid/cli/RouterJettyServerInitializer.java | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentMover.java b/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentMover.java index 379dd8374fa..08aee176480 100644 --- a/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentMover.java +++ b/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentMover.java @@ -130,7 +130,7 @@ public class S3DataSegmentMover implements DataSegmentMover final S3Object s3Object = list[0]; if (s3Object.getStorageClass() != null && s3Object.getStorageClass().equals(S3Object.STORAGE_CLASS_GLACIER)) { - log.warn("Cannot move file[s3://%s/%s] of storage class glacier, skipping."); + log.warn("Cannot move file[s3://%s/%s] of storage class glacier, skipping.", s3Bucket, s3Path); } else { log.info( "Moving file[s3://%s/%s] to [s3://%s/%s]", diff --git a/services/src/main/java/io/druid/cli/RouterJettyServerInitializer.java b/services/src/main/java/io/druid/cli/RouterJettyServerInitializer.java index 54c3a7f69e4..7d39efda9b9 100644 --- a/services/src/main/java/io/druid/cli/RouterJettyServerInitializer.java +++ b/services/src/main/java/io/druid/cli/RouterJettyServerInitializer.java @@ -38,7 +38,7 @@ import org.eclipse.jetty.server.handler.HandlerList; import org.eclipse.jetty.servlet.DefaultServlet; import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.servlet.ServletHolder; -import org.eclipse.jetty.servlets.GzipFilter; +import org.eclipse.jetty.servlets.AsyncGzipFilter; /** */ @@ -85,12 +85,11 @@ public class RouterJettyServerInitializer implements JettyServerInitializer ) ), "/druid/v2/*" ); - queries.addFilter(GzipFilter.class, "/druid/v2/*", null); + queries.addFilter(AsyncGzipFilter.class, "/druid/v2/*", null); queries.addFilter(GuiceFilter.class, "/status/*", null); final ServletContextHandler root = new ServletContextHandler(ServletContextHandler.SESSIONS); root.addServlet(new ServletHolder(new DefaultServlet()), "/*"); - root.addFilter(GzipFilter.class, "/*", null); root.addFilter(GuiceFilter.class, "/*", null); final HandlerList handlerList = new HandlerList();