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

[REST] Sending HTML for errors is unhelpful

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.5, 0.95.2
    • 0.94.4, 0.95.0
    • REST
    • None

    Description

      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.

      Attachments

        1. HBASE-7464-0.94.patch
          24 kB
          Andrew Kyle Purtell
        2. HBASE-7464-trunk.patch
          26 kB
          Andrew Kyle Purtell
        3. HBASE-7464-0.94-v2.patch
          29 kB
          Andrew Kyle Purtell
        4. HBASE-7464-trunk-v2.patch
          29 kB
          Andrew Kyle Purtell

        Activity

          People

            apurtell Andrew Kyle Purtell
            chipdude Chip Salzenberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: