hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r1038738 - in /hbase/branches/0.20: CHANGES.txt src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/Main.java
Date Wed, 24 Nov 2010 18:13:33 GMT
Author: apurtell
Date: Wed Nov 24 18:13:33 2010
New Revision: 1038738

URL: http://svn.apache.org/viewvc?rev=1038738&view=rev
Log:
HBASE-3275 [rest] No gzip/deflate content encoding support

Modified:
    hbase/branches/0.20/CHANGES.txt
    hbase/branches/0.20/src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/Main.java

Modified: hbase/branches/0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.20/CHANGES.txt?rev=1038738&r1=1038737&r2=1038738&view=diff
==============================================================================
--- hbase/branches/0.20/CHANGES.txt (original)
+++ hbase/branches/0.20/CHANGES.txt Wed Nov 24 18:13:33 2010
@@ -13,6 +13,8 @@ Release 0.20.7 - Unreleased
    HBASE-3115  HBaseClient wastes 1 TCP packet per RPC
    HBASE-3140  Rest schema modification throw null pointer exception
                (David Worms via Andrew Purtell)
+   HBASE-3275  [rest] No gzip/deflate content encoding support
+
  
   IMPROVEMENTS
    HBASE-2988  Support alternate compression for major compactions

Modified: hbase/branches/0.20/src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/Main.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.20/src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/Main.java?rev=1038738&r1=1038737&r2=1038738&view=diff
==============================================================================
--- hbase/branches/0.20/src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/Main.java
(original)
+++ hbase/branches/0.20/src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/Main.java
Wed Nov 24 18:13:33 2010
@@ -28,6 +28,7 @@ import org.apache.commons.cli.PosixParse
 import org.mortbay.jetty.Server;
 import org.mortbay.jetty.servlet.Context;
 import org.mortbay.jetty.servlet.ServletHolder;
+import org.mortbay.servlet.GzipFilter;
 
 import com.sun.jersey.spi.container.servlet.ServletContainer;
 
@@ -74,6 +75,7 @@ public class Main implements Constants {
       // set up context
     Context context = new Context(server, "/", Context.SESSIONS);
     context.addServlet(sh, "/*");
+    context.addFilter(GzipFilter.class, "/*", 0);
 
     server.start();
     server.join();



Mime
View raw message