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

Small bug in CellUtil.matchingRow(Cell, byte[])

    XMLWordPrintableJSON

Details

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

    Description

        public static boolean matchingRow(final Cell left, final byte[] buf) {
          if (buf == null) {
            return left.getQualifierLength() == 0;
          }
          return matchingRow(left, buf, 0, buf.length);
        }
      

      The 'if' condition should check for left.getRowLength() == 0.

      Attachments

        1. HBASE-15253.patch
          0.7 kB
          ramkrishna.s.vasudevan

        Activity

          People

            ram_krish ramkrishna.s.vasudevan
            ram_krish ramkrishna.s.vasudevan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: