Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CHUKWA-654. Added additional check for getting row key. (Saisai Shao …
…via Eric Yang)

git-svn-id: https://svn.apache.org/repos/asf/incubator/chukwa/trunk@1369518 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
macroadster committed Aug 5, 2012
1 parent cbf91f9 commit ff7754b91407d37ce87a744df2bf6fc93a6e8e4d
Showing 2 changed files with 5 additions and 0 deletions.
@@ -22,6 +22,8 @@ Trunk (unreleased changes)

BUGS

CHUKWA-654. Added additional check for getting row key. (Saisai Shao via Eric Yang)

CHUKWA-652. Fixed JSON error in utilization.descriptor. (Saisai Shao via Eric Yang)

CHUKWA-646. Fix file rotation correctly for 0 byte rotated files. (Ivy Tang via Eric Yang)
@@ -103,6 +103,9 @@ public String getSeriesBySessionAttribute(@Context HttpServletRequest request, @
String[] rkeys = (session.getAttribute(skey).toString()).split(",");
JSONArray seriesList = new JSONArray();
for(String rowKey : rkeys) {
if (rowKey == null || rowKey.equals("")) {
continue;
}
Series output = ChukwaHBaseStore.getSeries(table, rowKey, family, qualifier, startTime, endTime, true);
seriesList.add(output.toJSONObject());
}

0 comments on commit ff7754b

Please sign in to comment.