You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2015/05/26 05:15:24 UTC
incubator-kylin git commit: KYLIN-783 change hdp.version to 2.2.4.2-2
Repository: incubator-kylin
Updated Branches:
refs/heads/KYLIN-783 6b24c9898 -> ea56d11ba
KYLIN-783 change hdp.version to 2.2.4.2-2
Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/ea56d11b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/ea56d11b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/ea56d11b
Branch: refs/heads/KYLIN-783
Commit: ea56d11ba7a57e1a987b4d48abf5d0933b4856b5
Parents: 6b24c98
Author: honma <ho...@ebay.com>
Authored: Tue May 26 11:20:03 2015 +0800
Committer: honma <ho...@ebay.com>
Committed: Tue May 26 11:20:03 2015 +0800
----------------------------------------------------------------------
.../org/apache/kylin/job/BuildCubeWithEngineTest.java | 2 +-
.../org/apache/kylin/job/BuildCubeWithStreamTest.java | 2 +-
.../java/org/apache/kylin/job/BuildIIWithEngineTest.java | 2 +-
.../java/org/apache/kylin/job/BuildIIWithStreamTest.java | 2 +-
.../java/org/apache/kylin/job/ITIIStreamBuilderTest.java | 2 +-
pom.xml | 2 +-
.../src/main/java/org/apache/kylin/rest/DebugTomcat.java | 11 +++++------
7 files changed, 11 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ea56d11b/job/src/test/java/org/apache/kylin/job/BuildCubeWithEngineTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/BuildCubeWithEngineTest.java b/job/src/test/java/org/apache/kylin/job/BuildCubeWithEngineTest.java
index 547a6e7..d3c3669 100644
--- a/job/src/test/java/org/apache/kylin/job/BuildCubeWithEngineTest.java
+++ b/job/src/test/java/org/apache/kylin/job/BuildCubeWithEngineTest.java
@@ -81,7 +81,7 @@ public class BuildCubeWithEngineTest {
logger.info("Adding to classpath: " + new File(HBaseMetadataTestCase.SANDBOX_TEST_DATA).getAbsolutePath());
ClassUtil.addClasspath(new File(HBaseMetadataTestCase.SANDBOX_TEST_DATA).getAbsolutePath());
System.setProperty(KylinConfig.KYLIN_CONF, "../examples/test_case_data/sandbox");
- System.setProperty("hdp.version", "2.2.0.0-2041"); // mapred-site.xml ref this
+ System.setProperty("hdp.version", "2.2.4.2-2"); // mapred-site.xml ref this
}
@Before
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ea56d11b/job/src/test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java b/job/src/test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java
index dc42dc5..a437bba 100644
--- a/job/src/test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java
+++ b/job/src/test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java
@@ -91,7 +91,7 @@ public class BuildCubeWithStreamTest {
public static void beforeClass() throws Exception {
logger.info("Adding to classpath: " + new File(HBaseMetadataTestCase.SANDBOX_TEST_DATA).getAbsolutePath());
ClassUtil.addClasspath(new File(HBaseMetadataTestCase.SANDBOX_TEST_DATA).getAbsolutePath());
- System.setProperty("hdp.version", "2.2.0.0-2041"); // mapred-site.xml ref this
+ System.setProperty("hdp.version", "2.2.4.2-2"); // mapred-site.xml ref this
}
@Before
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ea56d11b/job/src/test/java/org/apache/kylin/job/BuildIIWithEngineTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/BuildIIWithEngineTest.java b/job/src/test/java/org/apache/kylin/job/BuildIIWithEngineTest.java
index 9c0219a..612ba6c 100644
--- a/job/src/test/java/org/apache/kylin/job/BuildIIWithEngineTest.java
+++ b/job/src/test/java/org/apache/kylin/job/BuildIIWithEngineTest.java
@@ -84,7 +84,7 @@ public class BuildIIWithEngineTest {
public static void beforeClass() throws Exception {
logger.info("Adding to classpath: " + new File(HBaseMetadataTestCase.SANDBOX_TEST_DATA).getAbsolutePath());
ClassUtil.addClasspath(new File(HBaseMetadataTestCase.SANDBOX_TEST_DATA).getAbsolutePath());
- System.setProperty("hdp.version", "2.2.0.0-2041"); // mapred-site.xml ref this
+ System.setProperty("hdp.version", "2.2.4.2-2"); // mapred-site.xml ref this
}
@Before
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ea56d11b/job/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java b/job/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java
index 6bceab7..9876ace 100644
--- a/job/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java
+++ b/job/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java
@@ -92,7 +92,7 @@ public class BuildIIWithStreamTest {
public static void beforeClass() throws Exception {
logger.info("Adding to classpath: " + new File(HBaseMetadataTestCase.SANDBOX_TEST_DATA).getAbsolutePath());
ClassUtil.addClasspath(new File(HBaseMetadataTestCase.SANDBOX_TEST_DATA).getAbsolutePath());
- System.setProperty("hdp.version", "2.2.0.0-2041"); // mapred-site.xml ref this
+ System.setProperty("hdp.version", "2.2.4.2-2"); // mapred-site.xml ref this
}
@Before
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ea56d11b/job/src/test/java/org/apache/kylin/job/ITIIStreamBuilderTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/ITIIStreamBuilderTest.java b/job/src/test/java/org/apache/kylin/job/ITIIStreamBuilderTest.java
index 2edf457..3c3cf49 100644
--- a/job/src/test/java/org/apache/kylin/job/ITIIStreamBuilderTest.java
+++ b/job/src/test/java/org/apache/kylin/job/ITIIStreamBuilderTest.java
@@ -59,7 +59,7 @@ public class ITIIStreamBuilderTest {
@BeforeClass
public static void beforeClass() throws Exception {
ClassUtil.addClasspath(new File(HBaseMetadataTestCase.SANDBOX_TEST_DATA).getAbsolutePath());
- System.setProperty("hdp.version", "2.2.0.0-2041"); // mapred-site.xml ref this
+ System.setProperty("hdp.version", "2.2.4.2-2"); // mapred-site.xml ref this
}
@AfterClass
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ea56d11b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 108bb55..092a508 100644
--- a/pom.xml
+++ b/pom.xml
@@ -608,7 +608,7 @@
</property>
<property>
<name>hdp.version</name>
- <value>2.2.0.0-2041</value>
+ <value>2.2.4.2-2</value>
</property>
</systemProperties>
</configuration>
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ea56d11b/server/src/main/java/org/apache/kylin/rest/DebugTomcat.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/kylin/rest/DebugTomcat.java b/server/src/main/java/org/apache/kylin/rest/DebugTomcat.java
index a1cc86b..0b5db67 100644
--- a/server/src/main/java/org/apache/kylin/rest/DebugTomcat.java
+++ b/server/src/main/java/org/apache/kylin/rest/DebugTomcat.java
@@ -18,20 +18,19 @@
package org.apache.kylin.rest;
-import java.io.File;
-import java.lang.reflect.Field;
-import java.lang.reflect.Modifier;
-
import org.apache.catalina.Context;
import org.apache.catalina.core.AprLifecycleListener;
import org.apache.catalina.core.StandardServer;
import org.apache.catalina.deploy.ErrorPage;
import org.apache.catalina.startup.Tomcat;
import org.apache.hadoop.util.Shell;
-
import org.apache.kylin.common.KylinConfig;
import org.apache.kylin.rest.util.ClasspathUtil;
+import java.io.File;
+import java.lang.reflect.Field;
+import java.lang.reflect.Modifier;
+
public class DebugTomcat {
public static void setupDebugEnv() {
@@ -39,7 +38,7 @@ public class DebugTomcat {
// test_case_data/sandbox/ contains HDP 2.2 site xmls which is dev sandbox
ClasspathUtil.addClasspath(new File("../examples/test_case_data/sandbox").getAbsolutePath());
System.setProperty(KylinConfig.KYLIN_CONF, "../examples/test_case_data/sandbox");
- System.setProperty("hdp.version", "2.2.0.0-2041"); // mapred-site.xml ref this
+ System.setProperty("hdp.version", "2.2.4.2-2"); // mapred-site.xml ref this
System.setProperty("spring.profiles.active", "testing");
// workaround for job submission from win to linux -- https://issues.apache.org/jira/browse/MAPREDUCE-4052