Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11339 HBase MOB
  3. HBASE-13886

Return empty value when the mob file is corrupt instead of throwing exceptions

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: hbase-11339
    • Fix Version/s: hbase-11339, 2.0.0
    • Component/s: mob
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      By default the Get/Scan will throw Exception when it is not able to find a mob cell because the mob file is missing/corrupted. This jira adds a facility to continue scan/get and get other cells with mob cell value as empty. Set an attribute MobConstants.EMPTY_VALUE_ON_MOBCELL_MISS = true in Scan/Get for getting this behaviour
      Show
      By default the Get/Scan will throw Exception when it is not able to find a mob cell because the mob file is missing/corrupted. This jira adds a facility to continue scan/get and get other cells with mob cell value as empty. Set an attribute MobConstants.EMPTY_VALUE_ON_MOBCELL_MISS = true in Scan/Get for getting this behaviour

      Description

      Now in reading, CorruptHFileException is thrown if the target mob file is corrupt. We can return empty value for that mob cell instead of throwing exceptions.

        Attachments

        1. HBASE-13886-V5.patch
          15 kB
          Jingcheng Du
        2. HBASE-13886-V4.patch
          16 kB
          Jingcheng Du
        3. HBASE-13886-V3.patch
          15 kB
          Jingcheng Du
        4. HBASE-13886-V2.diff
          15 kB
          Jingcheng Du
        5. HBASE-13886.diff
          4 kB
          Jingcheng Du

          Activity

            People

            • Assignee:
              jingcheng.du@intel.com Jingcheng Du
              Reporter:
              jingcheng.du@intel.com Jingcheng Du
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: