You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2010/11/24 19:05:14 UTC
[jira] Created: (HBASE-3275) [rest] No gzip/deflate content
encoding support
[rest] No gzip/deflate content encoding support
-----------------------------------------------
Key: HBASE-3275
URL: https://issues.apache.org/jira/browse/HBASE-3275
Project: HBase
Issue Type: Bug
Reporter: Andrew Purtell
Assignee: Andrew Purtell
Fix For: 0.90.0, 0.92.0
The REST gateway does not support gzip or deflate content encoding. This is a bug because it is a very common performance optimization and Jetty trivially supports it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-3275) [rest] No gzip/deflate content
encoding support
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell resolved HBASE-3275.
-----------------------------------
Resolution: Fixed
The output stream is not wrapped if there is an error, more type checking needed there. Added a test case. Committed a fix to trunk and 0.90 branch.
> [rest] No gzip/deflate content encoding support
> -----------------------------------------------
>
> Key: HBASE-3275
> URL: https://issues.apache.org/jira/browse/HBASE-3275
> Project: HBase
> Issue Type: Bug
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Fix For: 0.92.0, 0.90.0
>
> Attachments: HBASE-3275.patch
>
>
> The REST gateway does not support gzip or deflate content encoding. This is a bug because it is a very common performance optimization and Jetty trivially supports it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HBASE-3275) [rest] No gzip/deflate content
encoding support
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008275#comment-13008275 ]
stack commented on HBASE-3275:
------------------------------
So, its just ugly if you have badly formatted URL Andrew? Thats not so bad.
> [rest] No gzip/deflate content encoding support
> -----------------------------------------------
>
> Key: HBASE-3275
> URL: https://issues.apache.org/jira/browse/HBASE-3275
> Project: HBase
> Issue Type: Bug
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Fix For: 0.90.0, 0.92.0
>
> Attachments: HBASE-3275.patch
>
>
> The REST gateway does not support gzip or deflate content encoding. This is a bug because it is a very common performance optimization and Jetty trivially supports it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HBASE-3275) [rest] No gzip/deflate content
encoding support
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008340#comment-13008340 ]
Hudson commented on HBASE-3275:
-------------------------------
Integrated in HBase-TRUNK #1795 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1795/])
HBASE-3275 [rest] No gzip/deflat content encoding support; fix error handling in GzipFilter
> [rest] No gzip/deflate content encoding support
> -----------------------------------------------
>
> Key: HBASE-3275
> URL: https://issues.apache.org/jira/browse/HBASE-3275
> Project: HBase
> Issue Type: Bug
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Fix For: 0.90.0, 0.92.0
>
> Attachments: HBASE-3275.patch
>
>
> The REST gateway does not support gzip or deflate content encoding. This is a bug because it is a very common performance optimization and Jetty trivially supports it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Reopened: (HBASE-3275) [rest] No gzip/deflate content
encoding support
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell reopened HBASE-3275:
-----------------------------------
Recent versions of Jetty break this.
{noformat}
11/03/18 01:32:34 ERROR mortbay.log: /testfish_documents
java.lang.ClassCastException: org.mortbay.jetty.HttpConnection$Output cannot be cast to org.apache.hadoop.hbase.rest.filter.GZIPResponseStream
at org.apache.hadoop.hbase.rest.filter.GzipFilter.doFilter(GzipFilter.java:54)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
{noformat}
> [rest] No gzip/deflate content encoding support
> -----------------------------------------------
>
> Key: HBASE-3275
> URL: https://issues.apache.org/jira/browse/HBASE-3275
> Project: HBase
> Issue Type: Bug
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Fix For: 0.90.0, 0.92.0
>
> Attachments: HBASE-3275.patch
>
>
> The REST gateway does not support gzip or deflate content encoding. This is a bug because it is a very common performance optimization and Jetty trivially supports it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (HBASE-3275) [rest] No gzip/deflate content
encoding support
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell resolved HBASE-3275.
-----------------------------------
Resolution: Fixed
Committed trivial patch. All REST tests pass locally.
> [rest] No gzip/deflate content encoding support
> -----------------------------------------------
>
> Key: HBASE-3275
> URL: https://issues.apache.org/jira/browse/HBASE-3275
> Project: HBase
> Issue Type: Bug
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Fix For: 0.20.7, 0.90.0, 0.92.0
>
> Attachments: HBASE-3275.patch
>
>
> The REST gateway does not support gzip or deflate content encoding. This is a bug because it is a very common performance optimization and Jetty trivially supports it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-3275) [rest] No gzip/deflate content
encoding support
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008249#comment-13008249 ]
Andrew Purtell commented on HBASE-3275:
---------------------------------------
Seems to be an issue with error handling. Happens when attempting an illegal GET /tablename (need minimum GET /tablename/row).
> [rest] No gzip/deflate content encoding support
> -----------------------------------------------
>
> Key: HBASE-3275
> URL: https://issues.apache.org/jira/browse/HBASE-3275
> Project: HBase
> Issue Type: Bug
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Fix For: 0.90.0, 0.92.0
>
> Attachments: HBASE-3275.patch
>
>
> The REST gateway does not support gzip or deflate content encoding. This is a bug because it is a very common performance optimization and Jetty trivially supports it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HBASE-3275) [rest] No gzip/deflate content
encoding support
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell updated HBASE-3275:
----------------------------------
Attachment: HBASE-3275.patch
> [rest] No gzip/deflate content encoding support
> -----------------------------------------------
>
> Key: HBASE-3275
> URL: https://issues.apache.org/jira/browse/HBASE-3275
> Project: HBase
> Issue Type: Bug
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Fix For: 0.90.0, 0.92.0
>
> Attachments: HBASE-3275.patch
>
>
> The REST gateway does not support gzip or deflate content encoding. This is a bug because it is a very common performance optimization and Jetty trivially supports it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-3275) [rest] No gzip/deflate content
encoding support
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell updated HBASE-3275:
----------------------------------
Fix Version/s: 0.20.7
> [rest] No gzip/deflate content encoding support
> -----------------------------------------------
>
> Key: HBASE-3275
> URL: https://issues.apache.org/jira/browse/HBASE-3275
> Project: HBase
> Issue Type: Bug
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Fix For: 0.20.7, 0.90.0, 0.92.0
>
> Attachments: HBASE-3275.patch
>
>
> The REST gateway does not support gzip or deflate content encoding. This is a bug because it is a very common performance optimization and Jetty trivially supports it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.