Skip to content

Commit

Permalink
pinpoint-apm#472 change hbase 1.0 api
Browse files Browse the repository at this point in the history
  • Loading branch information
emeroad committed May 27, 2015
1 parent 2325a7b commit 57e631d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ public Map<Long, List<AnnotationBo>> mapRow(Result result, int rowNum) throws Ex
Map<Long, List<AnnotationBo>> annotationList = new HashMap<Long, List<AnnotationBo>>();

for (Cell cell : rawCells) {
final byte[] bytes = cell.getRowArray();
Buffer buffer = new OffsetFixedBuffer(bytes, cell.getQualifierOffset());

Buffer buffer = new OffsetFixedBuffer(cell.getQualifierArray(), cell.getQualifierOffset());
long spanId = buffer.readLong();

if (CellUtil.matchingFamily(cell, HBaseTables.TRACES_CF_ANNOTATION)) {
Expand Down

0 comments on commit 57e631d

Please # to comment.