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

IOException should be recorded in log file when rest server obtain hbase connection

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST
    • Labels:
      None

      Description

      The REST server is successfully started,  when I send a http request to the server,  it response "Unavailable" result.Then I check the log file, there is no obviously error or warning infomation, I must to debug the code to find out the real cause of it. Actually, it was caused by hbase client connection .

      I think it is neccessary to record the class RESTServlet.java getAdmin() and getTable()  IOException to log file, it can make finding problems becomes simple.

        Attachments

        1. -HBASE-22683-v1.patch
          1 kB
          Qilin Cao

          Activity

            People

            • Assignee:
              Qilin Cao Qilin Cao
              Reporter:
              Qilin Cao Qilin Cao
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: