[ 
https://issues.apache.org/jira/browse/HBASE-17962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Niels Basjes updated HBASE-17962:
---------------------------------
    Attachment: HBASE-17962-2.patch

Changed the error message of the default GET implementation.

Old message:

Bad request: Either 0 or more than 1 columns specified.

New message:

Bad request: Default 'GET' method only works if there is exactly 1 column in 
the row. Using the 'Accept' header with one of these formats lets you retrieve 
the entire row if it has multiple columns: text/xml, application/json, 
application/x-protobuf, application/protobuf


> Improve documentation on Rest interface
> ---------------------------------------
>
>                 Key: HBASE-17962
>                 URL: https://issues.apache.org/jira/browse/HBASE-17962
>             Project: HBase
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Niels Basjes
>            Assignee: Niels Basjes
>            Priority: Trivial
>              Labels: documentation
>         Attachments: HBASE-17962-1.patch, HBASE-17962-2.patch
>
>
> The part of the documentation on the rest interface 'hides' the fact that you 
> can retrieve the entire row in one request.
> It also does not clearly state that it only works for certain mime types.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to