hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K M (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-2304) HTTP status code incorrect for error conditions
Date Tue, 09 Mar 2010 18:17:27 GMT
HTTP status code incorrect for error conditions

                 Key: HBASE-2304
                 URL: https://issues.apache.org/jira/browse/HBASE-2304
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: K M
            Priority: Minor

When there is a error given in the UI/JSPs, the HTTP status code is not set accordingly.

For example, if the page output for master.jsp is:

Trying to contact region server null for region , row '', but failed after 3
org.apache.hadoop.hbase.NotServingRegionException: -ROOT-,,0}}

The HTTP status code sent with the response is still "HTTP/1.1 200 OK".  This is a red herring
for some types of monitoring, though it is debatable if an HTTP status code of 4xx/5xx reflect
the server state or the state of the system being monitored.  It may well be that HTTP 200
is OK, since the HTTP UI is responsive and correctly indicating a failed HBase cluster.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message