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

shell gives unfriendly errors for nonexistant table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      When attempting operations against a non-existent table, some of the errors that we get are very unintuitive.

      $ bin/hbase shell -n <<< "count 'no_such_table'"
      2018-01-11 16:22:54,499 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      Took 0.4709 seconds                                                                                                                                                                                                                           java exception
      ERROR Java::OrgApacheHadoopHbase::TableNotFoundException: Region of 'hbase:namespace,,1515709347596.af9aaacccc132e8baa3dcf2874ce6d93.' is expected in the table of 'no_such_table', but hbase:meta says it is in the table of 'hbase:namespace'. hbase:meta might be damaged.
      

      Similar errors from scan, and from interactive shell instead on noninteractive mode.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mdrob Mike Drob
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: