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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • hbase-11339
    • hbase-11339, 2.0.0
    • mob
    • None
    • Reviewed
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment