Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4242

Fix Indexer post-compact hook logging of NPE and TableNotFound

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.12.0
    • Fix Version/s: 4.13.0
    • Component/s: None
    • Labels:
      None

      Description

      The post-compact hook in the Indexer seems to log extraneous log messages indicating NPE or TableNotFound. The TableNotFound exceptions seem to indicate actual table names prefixed with MERGE or RESTORE, and sometimes suffixed with a digit, so perhaps these are views or something similar.
      Examples:
      2017-09-28 13:35:03,118 WARN [ctions-1506410238599] index.Indexer - Unable to permanently disable indexes being partially rebuild for SYSTEM.SEQUENCE
      java.lang.NullPointerException
      2017-09-28 10:20:56,406 WARN [ctions-1506410238415] index.Indexer - Unable to permanently disable indexes being partially rebuild for MERGE_PLATFORM_ENTITY.PLATFORM_IMMUTABLE_ENTITY_DATA2
      org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined. tableName=MERGE_PLATFORM_ENTITY.PLATFORM_IMMUTABLE_ENTITY_DATA2

        Attachments

        1. PHOENIX-4242.v2.master.patch
          32 kB
          Vincent Poon
        2. PHOENIX-4242.v3.master.patch
          32 kB
          Vincent Poon
        3. PHOENIX-4242.v4.master.patch
          23 kB
          Vincent Poon
        4. PHOENIX-4747.v1.master.patch
          12 kB
          Vincent Poon

          Activity

            People

            • Assignee:
              vincentpoon Vincent Poon
              Reporter:
              vincentpoon Vincent Poon
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: