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

Failed to disable local index when index update fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.2.0
    • None
    • None

    Description

      When PhoenixIndexFailurePolicy is triggered when index update failed, we got following error:

      2014-07-29 18:24:53,552 WARN  [defaultRpcServer.handler=0,queue=0,port=61926] org.apache.phoenix.index.PhoenixIndexFailurePolicy(136): Attempt to disable index _LOCAL_IDX_T failed with code = TABLE_NOT_FOUND. Will use default failure policy instead.
      

      The reason is that in PhoenixIndexFailurePolicy code, we construct index table name from underlying hbase index table name. While local index table can't be derived because underlying local index table name is always like "LOCAL_IDX<DATA TABLE NAME>".

      Attachments

        1. PHOENIX-1139.patch
          22 kB
          rajeshbabu
        2. PHOENIX-1139_addendum.patch
          2 kB
          rajeshbabu

        Issue Links

          Activity

            People

              rajesh23 rajeshbabu
              jeffreyz Jeffrey Zhong
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: