Chia-Ping Tsai created HBASE-18554:

             Summary: Append#add doesn't check the row of passed cell
                 Key: HBASE-18554
             Project: HBase
          Issue Type: Bug
            Reporter: Chia-Ping Tsai

  public Append add(final Cell cell) {
    // Presume it is KeyValue for now.
    byte [] family = CellUtil.cloneFamily(cell);
    List<Cell> list = this.familyMap.get(family);
    if (list == null) {
      list  = new ArrayList<>(1);
    // find where the new entry should be placed in the List
    this.familyMap.put(family, list);
    return this;

This message was sent by Atlassian JIRA

Reply via email to