fix addContent bug again
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@785302 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cb114693ea
commit
b585855217
|
@ -309,9 +309,9 @@ public abstract class HBaseTestCase extends TestCase {
|
|||
put.setTimeStamp(ts);
|
||||
}
|
||||
try {
|
||||
put.add(Bytes.toBytes(columnFamily),
|
||||
(column == null ? null : Bytes.toBytes(column)),
|
||||
t);
|
||||
String col = column != null ? column : columnFamily;
|
||||
byte[][] split = KeyValue.parseColumn(Bytes.toBytes(col));
|
||||
put.add(split[0], split[1], t);
|
||||
updater.put(put);
|
||||
count++;
|
||||
} catch (RuntimeException ex) {
|
||||
|
|
Loading…
Reference in New Issue