From 57e631de46f8de20c3851e1baa31f733aa2a2a46 Mon Sep 17 00:00:00 2001 From: Woonduk Kang Date: Wed, 27 May 2015 14:39:13 +0900 Subject: [PATCH] #472 change hbase 1.0 api --- .../com/navercorp/pinpoint/web/mapper/AnnotationMapper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/main/java/com/navercorp/pinpoint/web/mapper/AnnotationMapper.java b/web/src/main/java/com/navercorp/pinpoint/web/mapper/AnnotationMapper.java index 190d1533471c..04a90b7e22e6 100644 --- a/web/src/main/java/com/navercorp/pinpoint/web/mapper/AnnotationMapper.java +++ b/web/src/main/java/com/navercorp/pinpoint/web/mapper/AnnotationMapper.java @@ -50,8 +50,8 @@ public Map> mapRow(Result result, int rowNum) throws Ex Map> annotationList = new HashMap>(); 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)) {