Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20581

HBase book documentation wrong for REST operations on schema endpoints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1
    • documentation
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HBASE-20581.001.patch
          2 kB
          Josh Elser

        Activity

          People

            elserj Josh Elser
            krisden Kevin Risden
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: