You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/01/01 23:22:12 UTC

[jira] [Commented] (HBASE-7464) [REST] Sending HTML for errors is unhelpful

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

Hudson commented on HBASE-7464:
-------------------------------

Integrated in HBase-0.94 #688 (See [https://builds.apache.org/job/HBase-0.94/688/])
    HBASE-7464. [REST] Sending HTML for errors is unhelpful (Revision 1427568)

     Result = ABORTED
apurtell : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/Constants.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/ExistsResource.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/MultiRowResource.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/RegionsResource.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/RootResource.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/ScannerInstanceResource.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/StorageClusterStatusResource.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/rest/StorageClusterVersionResource.java

                
> [REST] Sending HTML for errors is unhelpful
> -------------------------------------------
>
>                 Key: HBASE-7464
>                 URL: https://issues.apache.org/jira/browse/HBASE-7464
>             Project: HBase
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 0.96.0, 0.94.5
>            Reporter: Chip Salzenberg
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.5
>
>         Attachments: HBASE-7464-0.94.patch, HBASE-7464-0.94-v2.patch, HBASE-7464-trunk.patch, HBASE-7464-trunk-v2.patch
>
>
> The large HTML 404 page returned by Stargate is not helpful.  The REST interface is not intended for humans to read, esp. when the client is known to be a program because it's asking for binary, but really any time.  Nice big readable error pages use bandwidth and clutter network traces to no purpose.
> Please allow the 404 and other error pages to be configured away, or just stop sending them (my preference).  If some body must be sent, a simple text/plain "Not found" would be fine, I think.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira