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

BufferedMutatorImpl#mutate should wait the result from AP in order to throw the failed mutations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta-2, 2.0.0
    • None
    • None
    • Reviewed

    Description

      Currently, BMI#mutate doesn't wait the result from AP so the errors are stored in AP. The only way which can return the errors to user is, calling the flush to catch the exception. That is non-intuitive.

      I feel BMI#mutate should wait the result. That is to say, user can parse the exception thrown by BM#mutate to get the failed mutations. Also, we can remove the global error from AP.

      Attachments

        1. HBASE-19680.v0.patch
          37 kB
          Chia-Ping Tsai
        2. HBASE-19680.v1.patch
          37 kB
          Chia-Ping Tsai
        3. HBASE-19680.v2.patch
          39 kB
          Chia-Ping Tsai

        Activity

          People

            chia7712 Chia-Ping Tsai
            chia7712 Chia-Ping Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: