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

table 'does not exist' when it does

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.1.0
    • Client
    • None

    Description

      This one I've seen a few times. In hql, I do show tables and it shows my table. I then try to do a select against the table and hql reports table does not exist. Digging, whats happening is that the getClosest facility is failing to find the first table region in the .META. table. I hacked up a region reading tool – attached (for 0.1 branch) – and tried it against but a copy and the actual instance of the region and it could do the getClosest fine. I'm pretty sure I restarted the HRS and when it came up again, the master had given it again the .META. and again was failing to find the first region in the table (Looked around in server logs and it seemed 'healthy').

      Attachments

        1. 514-0.1.patch
          28 kB
          Bryan Duxbury
        2. 514-0.1-v2.patch
          28 kB
          Bryan Duxbury
        3. 514-0.1-v3.patch
          30 kB
          Bryan Duxbury
        4. region-v2.patch
          5 kB
          Michael Stack

        Issue Links

          Activity

            People

              bryanduxbury Bryan Duxbury
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: