You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2018/08/01 06:24:31 UTC
[jira] [Issue Comment Deleted] (HBASE-20581) HBase book
documentation wrong for REST operations on schema endpoints
[ https://issues.apache.org/jira/browse/HBASE-20581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gavin updated HBASE-20581:
--------------------------
Comment: was deleted
(was: A comment with security level 'jira-users' was removed.)
> HBase book documentation wrong for REST operations on schema endpoints
> ----------------------------------------------------------------------
>
> Key: HBASE-20581
> URL: https://issues.apache.org/jira/browse/HBASE-20581
> Project: HBase
> Issue Type: Bug
> Components: documentation
> Reporter: Kevin Risden
> Assignee: Josh Elser
> Priority: Critical
> Fix For: 3.0.0
>
> Attachments: HBASE-20581.001.patch
>
>
> On [https://hbase.apache.org/book.html#_using_rest_endpoints]
> The documentation states that to update a table schema (the configuration for a column family), the {{PUT}} HTTP verb will update the current configuration with the "fragment" of configuration provided, while the {{POST}} HTTP verb will replace the current configuration with whatever is provided.
> In reality, the opposite is true: {{POST}} updates the configuration, {{PUT}} replaces. The old javadoc for the o.a.h.h.rest package got it right, but the entry on the HBase book transposed this.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)