hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HBase Review Board (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3121) [rest] Do not perform cache control when returning results
Date Mon, 18 Oct 2010 22:41:27 GMT

    [ https://issues.apache.org/jira/browse/HBASE-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922335#action_12922335
] 

HBase Review Board commented on HBASE-3121:
-------------------------------------------

Message from: "Andrew Purtell" <apurtell@apache.org>

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/1041/
-----------------------------------------------------------

Review request for hbase.


Summary
-------

The REST interface currently provides MaxAge hints to HTTP cache servers when returning results,
but does not do so in a way that makes much sense. For some other responses such as scanner
results or schema, the REST interface provides a NoCache hint. That seems appropriate. Otherwise,
especially given the rich configuration languages of caching servers such as Varnish, it is
probably not appropriate to manage cache policy in the REST interface. 


This addresses bug HBASE-3121.
    http://issues.apache.org/jira/browse/HBASE-3121


Diffs
-----

  src/main/java/org/apache/hadoop/hbase/rest/RESTServlet.java ed92857 
  src/main/java/org/apache/hadoop/hbase/rest/RowResource.java a4cdd1c 
  src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java 0c134aa 

Diff: http://review.cloudera.org/r/1041/diff


Testing
-------


Thanks,

Andrew




> [rest] Do not perform cache control when returning results
> ----------------------------------------------------------
>
>                 Key: HBASE-3121
>                 URL: https://issues.apache.org/jira/browse/HBASE-3121
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.20.7, 0.90.0
>
>         Attachments: HBASE-3121.patch
>
>
> The REST interface currently provides MaxAge hints to HTTP cache servers when returning
results, but does not do so in a way that makes much sense. For some other responses such
as scanner results or schema, the REST interface provides a NoCache hint. That seems appropriate.
Otherwise, especially given the rich configuration languages of caching servers such as Varnish,
it is probably not appropriate to manage cache policy in the REST interface. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message