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

IndexTool marks index as ACTIVE and exit 0 even if bulkload has error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.7.0
    • Fix Version/s: 4.8.0
    • Component/s: None
    • Labels:

      Description

      In `IndexTool`, the job exits with code 0 and marks the index table as ACTIVE even though MapReduce had error.

      See: https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java#L246-L256

        Attachments

        1. fix.diff
          3 kB
          Thomas D'Silva
        2. PHOENIX-3061_addendum2.patch
          4 kB
          James R. Taylor
        3. PHOENIX-3061_addendum3.patch
          7 kB
          James R. Taylor
        4. PHOENIX-3061_addendum4.patch
          2 kB
          James R. Taylor

          Issue Links

            Activity

              People

              • Assignee:
                simon_wang Tongzhou Wang
                Reporter:
                simon_wang Tongzhou Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: