kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject [05/52] [abbrv] kylin git commit: KYLIN-1343 fix some Job unit test
Date Sun, 21 Feb 2016 11:52:00 GMT
KYLIN-1343 fix some Job unit test


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/2bd3b4ed
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/2bd3b4ed
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/2bd3b4ed

Branch: refs/heads/1.x-HBase1.1.3
Commit: 2bd3b4ed8175da0aa95c3af86cbbc5cee6c2184b
Parents: d0f610f
Author: Yang Li <liyang@apache.org>
Authored: Sun Jan 24 08:30:28 2016 +0800
Committer: Yang Li <liyang@apache.org>
Committed: Sun Jan 24 08:30:28 2016 +0800

----------------------------------------------------------------------
 .../java/org/apache/kylin/job/hadoop/cube/BaseCuboidJobTest.java    | 1 +
 .../org/apache/kylin/job/hadoop/cube/KeyDistributionJobTest.java    | 1 +
 .../java/org/apache/kylin/job/hadoop/cube/MergeCuboidJobTest.java   | 1 +
 .../test/java/org/apache/kylin/job/hadoop/cube/NDCuboidJobTest.java | 1 +
 .../apache/kylin/job/hadoop/cube/RangeKeyDistributionJobTest.java   | 1 +
 .../java/org/apache/kylin/job/hadoop/hbase/CreateHTableTest.java    | 1 +
 .../java/org/apache/kylin/job/tools/ColumnCardinalityJobTest.java   | 1 +
 7 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/2bd3b4ed/job/src/test/java/org/apache/kylin/job/hadoop/cube/BaseCuboidJobTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/hadoop/cube/BaseCuboidJobTest.java b/job/src/test/java/org/apache/kylin/job/hadoop/cube/BaseCuboidJobTest.java
index 088409d..1775eae 100644
--- a/job/src/test/java/org/apache/kylin/job/hadoop/cube/BaseCuboidJobTest.java
+++ b/job/src/test/java/org/apache/kylin/job/hadoop/cube/BaseCuboidJobTest.java
@@ -39,6 +39,7 @@ public class BaseCuboidJobTest extends LocalFileMetadataTestCase {
         conf = new Configuration();
         conf.set("fs.default.name", "file:///");
         conf.set("mapred.job.tracker", "local");
+        conf.set("mapreduce.application.framework.path", "");
 
         // for local runner out-of-memory issue
         conf.set("mapreduce.task.io.sort.mb", "10");

http://git-wip-us.apache.org/repos/asf/kylin/blob/2bd3b4ed/job/src/test/java/org/apache/kylin/job/hadoop/cube/KeyDistributionJobTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/hadoop/cube/KeyDistributionJobTest.java
b/job/src/test/java/org/apache/kylin/job/hadoop/cube/KeyDistributionJobTest.java
index e7b5238..f5b3b7d 100644
--- a/job/src/test/java/org/apache/kylin/job/hadoop/cube/KeyDistributionJobTest.java
+++ b/job/src/test/java/org/apache/kylin/job/hadoop/cube/KeyDistributionJobTest.java
@@ -62,6 +62,7 @@ package org.apache.kylin.job.hadoop.cube;
 //        conf = new Configuration();
 //        conf.set("fs.default.name", "file:///");
 //        conf.set("mapred.job.tracker", "local");
+//        conf.set("mapreduce.application.framework.path", "");
 //    }
 //
 //    @Test

http://git-wip-us.apache.org/repos/asf/kylin/blob/2bd3b4ed/job/src/test/java/org/apache/kylin/job/hadoop/cube/MergeCuboidJobTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/hadoop/cube/MergeCuboidJobTest.java b/job/src/test/java/org/apache/kylin/job/hadoop/cube/MergeCuboidJobTest.java
index cc8a756..012b3a1 100644
--- a/job/src/test/java/org/apache/kylin/job/hadoop/cube/MergeCuboidJobTest.java
+++ b/job/src/test/java/org/apache/kylin/job/hadoop/cube/MergeCuboidJobTest.java
@@ -40,6 +40,7 @@ public class MergeCuboidJobTest extends LocalFileMetadataTestCase {
         conf = new Configuration();
         conf.set("fs.default.name", "file:///");
         conf.set("mapred.job.tracker", "local");
+        conf.set("mapreduce.application.framework.path", "");
 
         // for local runner out-of-memory issue
         conf.set("mapreduce.task.io.sort.mb", "10");

http://git-wip-us.apache.org/repos/asf/kylin/blob/2bd3b4ed/job/src/test/java/org/apache/kylin/job/hadoop/cube/NDCuboidJobTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/hadoop/cube/NDCuboidJobTest.java b/job/src/test/java/org/apache/kylin/job/hadoop/cube/NDCuboidJobTest.java
index eb5ef21..5ba3ec6 100644
--- a/job/src/test/java/org/apache/kylin/job/hadoop/cube/NDCuboidJobTest.java
+++ b/job/src/test/java/org/apache/kylin/job/hadoop/cube/NDCuboidJobTest.java
@@ -39,6 +39,7 @@ public class NDCuboidJobTest extends LocalFileMetadataTestCase {
         conf = new Configuration();
         conf.set("fs.default.name", "file:///");
         conf.set("mapred.job.tracker", "local");
+        conf.set("mapreduce.application.framework.path", "");
 
         // for local runner out-of-memory issue
         conf.set("mapreduce.task.io.sort.mb", "10");

http://git-wip-us.apache.org/repos/asf/kylin/blob/2bd3b4ed/job/src/test/java/org/apache/kylin/job/hadoop/cube/RangeKeyDistributionJobTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/hadoop/cube/RangeKeyDistributionJobTest.java
b/job/src/test/java/org/apache/kylin/job/hadoop/cube/RangeKeyDistributionJobTest.java
index 4de7504..586bdf0 100644
--- a/job/src/test/java/org/apache/kylin/job/hadoop/cube/RangeKeyDistributionJobTest.java
+++ b/job/src/test/java/org/apache/kylin/job/hadoop/cube/RangeKeyDistributionJobTest.java
@@ -43,6 +43,7 @@ public class RangeKeyDistributionJobTest extends LocalFileMetadataTestCase
{
         conf = new Configuration();
         conf.set("fs.default.name", "file:///");
         conf.set("mapred.job.tracker", "local");
+        conf.set("mapreduce.application.framework.path", "");
 
         // for local runner out-of-memory issue
         conf.set("mapreduce.task.io.sort.mb", "10");

http://git-wip-us.apache.org/repos/asf/kylin/blob/2bd3b4ed/job/src/test/java/org/apache/kylin/job/hadoop/hbase/CreateHTableTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/hadoop/hbase/CreateHTableTest.java b/job/src/test/java/org/apache/kylin/job/hadoop/hbase/CreateHTableTest.java
index 28d83b7..a87c66b 100644
--- a/job/src/test/java/org/apache/kylin/job/hadoop/hbase/CreateHTableTest.java
+++ b/job/src/test/java/org/apache/kylin/job/hadoop/hbase/CreateHTableTest.java
@@ -41,6 +41,7 @@ public class CreateHTableTest extends LocalFileMetadataTestCase {
         conf = new Configuration();
         conf.set("fs.default.name", "file:///");
         conf.set("mapred.job.tracker", "local");
+        conf.set("mapreduce.application.framework.path", "");
         this.createTestMetadata();
 
     }

http://git-wip-us.apache.org/repos/asf/kylin/blob/2bd3b4ed/job/src/test/java/org/apache/kylin/job/tools/ColumnCardinalityJobTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/tools/ColumnCardinalityJobTest.java b/job/src/test/java/org/apache/kylin/job/tools/ColumnCardinalityJobTest.java
index 8032546..9d95a88 100644
--- a/job/src/test/java/org/apache/kylin/job/tools/ColumnCardinalityJobTest.java
+++ b/job/src/test/java/org/apache/kylin/job/tools/ColumnCardinalityJobTest.java
@@ -45,6 +45,7 @@ public class ColumnCardinalityJobTest {
         conf = new Configuration();
         conf.set("fs.default.name", "file:///");
         conf.set("mapred.job.tracker", "local");
+        conf.set("mapreduce.application.framework.path", "");
     }
 
     @Test


Mime
View raw message