You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2015/01/23 09:32:04 UTC
[17/50] [abbrv] incubator-kylin git commit: Add hep.version env
variable to BuildCubeWithEngineTest and BuildIIWithEngineTest
Add hep.version env variable to BuildCubeWithEngineTest and BuildIIWithEngineTest
Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/6faee1db
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/6faee1db
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/6faee1db
Branch: refs/heads/inverted-index
Commit: 6faee1db9008914bbec3aa212a9d5d7c95380aec
Parents: a843cb9
Author: Shao Feng, Shi <sh...@hotmail.com>
Authored: Thu Jan 22 17:31:50 2015 +0800
Committer: Shao Feng, Shi <sh...@hotmail.com>
Committed: Thu Jan 22 17:31:50 2015 +0800
----------------------------------------------------------------------
job/src/test/java/com/kylinolap/job/BuildCubeWithEngineTest.java | 2 ++
job/src/test/java/com/kylinolap/job/BuildIIWithEngineTest.java | 1 +
2 files changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/6faee1db/job/src/test/java/com/kylinolap/job/BuildCubeWithEngineTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/com/kylinolap/job/BuildCubeWithEngineTest.java b/job/src/test/java/com/kylinolap/job/BuildCubeWithEngineTest.java
index 21954a6..7bf3758 100644
--- a/job/src/test/java/com/kylinolap/job/BuildCubeWithEngineTest.java
+++ b/job/src/test/java/com/kylinolap/job/BuildCubeWithEngineTest.java
@@ -16,6 +16,7 @@ import com.kylinolap.job.hadoop.cube.StorageCleanupJob;
import com.kylinolap.job.impl.threadpool.AbstractExecutable;
import com.kylinolap.job.impl.threadpool.DefaultScheduler;
import com.kylinolap.job.service.ExecutableManager;
+
import org.apache.hadoop.util.ToolRunner;
import org.junit.After;
import org.junit.Before;
@@ -60,6 +61,7 @@ public class BuildCubeWithEngineTest {
@BeforeClass
public static void beforeClass() throws Exception {
ClasspathUtil.addClasspath(new File(HBaseMetadataTestCase.SANDBOX_TEST_DATA).getAbsolutePath());
+ System.setProperty("hdp.version", "2.2.0.0-2041"); // mapred-site.xml ref this
}
@Before
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/6faee1db/job/src/test/java/com/kylinolap/job/BuildIIWithEngineTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/com/kylinolap/job/BuildIIWithEngineTest.java b/job/src/test/java/com/kylinolap/job/BuildIIWithEngineTest.java
index 8dc4123..612eb79 100644
--- a/job/src/test/java/com/kylinolap/job/BuildIIWithEngineTest.java
+++ b/job/src/test/java/com/kylinolap/job/BuildIIWithEngineTest.java
@@ -69,6 +69,7 @@ public class BuildIIWithEngineTest {
@BeforeClass
public static void beforeClass() throws Exception {
ClasspathUtil.addClasspath(new File(HBaseMetadataTestCase.SANDBOX_TEST_DATA).getAbsolutePath());
+ System.setProperty("hdp.version", "2.2.0.0-2041"); // mapred-site.xml ref this
}
@Before