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

CellArrayMap#getCell may throw IndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • Reviewed

    Description

        @Override
        protected Cell getCell(int i) {
          if( (i < minCellIdx) && (i >= maxCellIdx) ) return null;
          return block[i];
        }
      

      && -> ||
      We have checked the index of bound before calling this method, so the exception doesn't happen at current trunk.

      Attachments

        1. HBASE-17941.v0.patch
          1 kB
          Hsin-Ying Lee

        Activity

          People

            s9514171 Hsin-Ying Lee
            chia7712 Chia-Ping Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: