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

[REST] Sending HTML for errors is unhelpful

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.94.5, 0.95.2
    • Fix Version/s: 0.94.4, 0.95.0
    • Component/s: REST
    • Labels:
      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-0.94-v2.patch
          29 kB
          Andrew Kyle Purtell
        3. HBASE-7464-trunk.patch
          26 kB
          Andrew Kyle Purtell
        4. HBASE-7464-trunk-v2.patch
          29 kB
          Andrew Kyle Purtell

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: