Repository: hbase Updated Branches: refs/heads/hbase-11339 3e563c5cc -> 0c86d83e1
HBASE-11647 MOB integration testing. - addendum(Jingcheng Du) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0c86d83e Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0c86d83e Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0c86d83e Branch: refs/heads/hbase-11339 Commit: 0c86d83e1f966b5e0c72e53664f7e9ff5a71e488 Parents: 3e563c5 Author: anoopsjohn <anoopsamj...@gmail.com> Authored: Tue Sep 9 16:18:38 2014 +0530 Committer: anoopsjohn <anoopsamj...@gmail.com> Committed: Tue Sep 9 16:18:38 2014 +0530 ---------------------------------------------------------------------- .../org/apache/hadoop/hbase/IntegrationTestIngestWithMOB.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/0c86d83e/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestIngestWithMOB.java ---------------------------------------------------------------------- diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestIngestWithMOB.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestIngestWithMOB.java index 89f814a..4697eed 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestIngestWithMOB.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestIngestWithMOB.java @@ -112,7 +112,7 @@ public class IntegrationTestIngestWithMOB extends IntegrationTestIngest { for (HColumnDescriptor columnDescriptor : tableDesc.getFamilies()) { if(Arrays.equals(columnDescriptor.getName(), mobColumnFamily)) { columnDescriptor.setValue(MobConstants.IS_MOB, Bytes.toBytes(Boolean.TRUE)); - columnDescriptor.setValue(MobConstants.MOB_THRESHOLD, Bytes.toBytes(threshold)); + columnDescriptor.setValue(MobConstants.MOB_THRESHOLD, Bytes.toBytes((long) threshold)); admin.modifyColumn(tableName, columnDescriptor); } } @@ -130,7 +130,7 @@ public class IntegrationTestIngestWithMOB extends IntegrationTestIngest { tmp.add(HIPHEN + LoadTestTool.OPT_GENERATOR); StringBuilder sb = new StringBuilder(LoadTestDataGeneratorWithMOB.class.getName()); sb.append(COLON); - sb.append(mobColumnFamily); + sb.append(Bytes.toString(mobColumnFamily)); sb.append(COLON); sb.append(minMobDataSize); sb.append(COLON);