hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r1038736 - in /hbase/branches/0.90: CHANGES.txt src/main/java/org/apache/hadoop/hbase/rest/Main.java
Date Wed, 24 Nov 2010 18:13:15 GMT
Author: apurtell
Date: Wed Nov 24 18:13:15 2010
New Revision: 1038736

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

Modified:
    hbase/branches/0.90/CHANGES.txt
    hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/rest/Main.java

Modified: hbase/branches/0.90/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1038736&r1=1038735&r2=1038736&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Wed Nov 24 18:13:15 2010
@@ -698,6 +698,8 @@ Release 0.90.0 - Unreleased
    HBASE-3272  Remove no longer used options
    HBASE-3269  HBase table truncate semantics seems broken as "disable" table
                is now async by default.
+   HBASE-3275  [rest] No gzip/deflate content encoding support
+
 
   IMPROVEMENTS
    HBASE-1760  Cleanup TODOs in HTable

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/rest/Main.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/rest/Main.java?rev=1038736&r1=1038735&r2=1038736&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/rest/Main.java (original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/rest/Main.java Wed Nov 24 18:13:15
2010
@@ -37,6 +37,7 @@ import java.util.ArrayList;
 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;
 
@@ -132,6 +133,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