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

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.7.0
    • 4.8.0
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: