HBase
  1. HBase
  2. HBASE-10125

KeyValue(Cell c) copy constructor doesn't copy tags data

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.98.0
    • Fix Version/s: 0.98.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I happened to come across this:

        public KeyValue(Cell c) {
          this(c.getRowArray(), c.getRowOffset(), (int)c.getRowLength(),
              c.getFamilyArray(), c.getFamilyOffset(), (int)c.getFamilyLength(), 
              c.getQualifierArray(), c.getQualifierOffset(), (int) c.getQualifierLength(),
              c.getTimestamp(), Type.codeToType(c.getTypeByte()), 
              c.getValueArray(), c.getValueOffset(), c.getValueLength());
        }
      
      1. hbase-10125.patch
        1 kB
        Jeffrey Zhong

        Activity

          People

          • Assignee:
            Jeffrey Zhong
            Reporter:
            Jeffrey Zhong
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development