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

Lower HConstants#MAX_ROW_LENGTH as guardrail in order to avoid HBASE-18987

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • HFile, regionserver
    • None

    Description

      As discussed in HBASE-18987. A problem of having a row about the maximum size of a row (Short.MAX_VALUE) is when a split happens, there is a possibility that the midkey could be that row and the Put created to add the new entry in META will exceed the maximum row size since the new row key will include the table name and that will cause the split to abort. Since is not possible to raise that row key size in HFileV3, a reasonable solution is to reduce the maximum size of row key in order to avoid exceeding Short.MAX_VALUE.

      Attachments

        Activity

          People

            Unassigned Unassigned
            esteban Esteban Gutierrez
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: