From 0c86d83e1f966b5e0c72e53664f7e9ff5a71e488 Mon Sep 17 00:00:00 2001 From: anoopsjohn Date: Tue, 9 Sep 2014 16:18:38 +0530 Subject: [PATCH] HBASE-11647 MOB integration testing. - addendum(Jingcheng Du) --- .../org/apache/hadoop/hbase/IntegrationTestIngestWithMOB.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 89f814aad4d..4697eedee4e 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);