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/09/01 03:30:43 UTC

incubator-kylin git commit: test 8

Repository: incubator-kylin
Updated Branches:
  refs/heads/KYLIN-956-2 5817cb08a -> 0f5ef74c1


test 8


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

Branch: refs/heads/KYLIN-956-2
Commit: 0f5ef74c1a3d0608f53837e6cc65abbe325dfc15
Parents: 5817cb0
Author: honma <ho...@ebay.com>
Authored: Tue Sep 1 09:32:26 2015 +0800
Committer: honma <ho...@ebay.com>
Committed: Tue Sep 1 09:32:26 2015 +0800

----------------------------------------------------------------------
 .../java/org/apache/kylin/engine/spark/BuildCubeWithSparkTest.java | 2 +-
 .../test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java    | 2 +-
 job/src/test/java/org/apache/kylin/job/BuildIIWithEngineTest.java  | 2 +-
 job/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java  | 2 +-
 .../java/org/apache/kylin/job/DeployLocalMetaToRemoteTest.java     | 2 +-
 .../java/org/apache/kylin/job/ITKafkaBasedIIStreamBuilderTest.java | 2 +-
 server/src/main/java/org/apache/kylin/rest/DebugTomcat.java        | 2 +-
 .../org/apache/kylin/storage/hbase/steps/SandboxMetastoreCLI.java  | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/0f5ef74c/engine-spark/src/test/java/org/apache/kylin/engine/spark/BuildCubeWithSparkTest.java
----------------------------------------------------------------------
diff --git a/engine-spark/src/test/java/org/apache/kylin/engine/spark/BuildCubeWithSparkTest.java b/engine-spark/src/test/java/org/apache/kylin/engine/spark/BuildCubeWithSparkTest.java
index c48566d..5593f4b 100644
--- a/engine-spark/src/test/java/org/apache/kylin/engine/spark/BuildCubeWithSparkTest.java
+++ b/engine-spark/src/test/java/org/apache/kylin/engine/spark/BuildCubeWithSparkTest.java
@@ -80,7 +80,7 @@ public class BuildCubeWithSparkTest {
         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.4.2-2"); // mapred-site.xml ref this
-        System.setProperty("java.library.path", "/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64/");
+        System.setProperty("java.library.path", ":/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.2.4.2-2/hadoop/lib/native");
         //http://blog.cedarsoft.com/2010/11/setting-java-library-path-programmatically
         Field fieldSysPath = ClassLoader.class.getDeclaredField("sys_paths");
         fieldSysPath.setAccessible(true);

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/0f5ef74c/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 eada13d..8e48a76 100644
--- a/job/src/test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java
+++ b/job/src/test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java
@@ -76,7 +76,7 @@ public class BuildCubeWithStreamTest {
         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.4.2-2"); // mapred-site.xml ref this
-        System.setProperty("java.library.path", "/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64/");
+        System.setProperty("java.library.path", ":/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.2.4.2-2/hadoop/lib/native");
         //http://blog.cedarsoft.com/2010/11/setting-java-library-path-programmatically
         Field fieldSysPath = ClassLoader.class.getDeclaredField("sys_paths");
         fieldSysPath.setAccessible(true);

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/0f5ef74c/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 42c0678..6761a28 100644
--- a/job/src/test/java/org/apache/kylin/job/BuildIIWithEngineTest.java
+++ b/job/src/test/java/org/apache/kylin/job/BuildIIWithEngineTest.java
@@ -95,7 +95,7 @@ public class BuildIIWithEngineTest {
         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.4.2-2"); // mapred-site.xml ref this
-        System.setProperty("java.library.path", "/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64/");
+        System.setProperty("java.library.path", ":/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.2.4.2-2/hadoop/lib/native");
         //http://blog.cedarsoft.com/2010/11/setting-java-library-path-programmatically
         Field fieldSysPath = ClassLoader.class.getDeclaredField("sys_paths");
         fieldSysPath.setAccessible(true);

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/0f5ef74c/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 a138bfb..9be5fa7 100644
--- a/job/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java
+++ b/job/src/test/java/org/apache/kylin/job/BuildIIWithStreamTest.java
@@ -96,7 +96,7 @@ public class BuildIIWithStreamTest {
         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.4.2-2"); // mapred-site.xml ref this
-        System.setProperty("java.library.path", "/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64/");
+        System.setProperty("java.library.path", ":/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.2.4.2-2/hadoop/lib/native");
         //http://blog.cedarsoft.com/2010/11/setting-java-library-path-programmatically
         Field fieldSysPath = ClassLoader.class.getDeclaredField("sys_paths");
         fieldSysPath.setAccessible(true);

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/0f5ef74c/job/src/test/java/org/apache/kylin/job/DeployLocalMetaToRemoteTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/DeployLocalMetaToRemoteTest.java b/job/src/test/java/org/apache/kylin/job/DeployLocalMetaToRemoteTest.java
index a5b376b..863bfcc 100644
--- a/job/src/test/java/org/apache/kylin/job/DeployLocalMetaToRemoteTest.java
+++ b/job/src/test/java/org/apache/kylin/job/DeployLocalMetaToRemoteTest.java
@@ -47,7 +47,7 @@ public class DeployLocalMetaToRemoteTest {
         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.4.2-2"); // mapred-site.xml ref this
-        System.setProperty("java.library.path", "/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64/");
+        System.setProperty("java.library.path", ":/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.2.4.2-2/hadoop/lib/native");
         //http://blog.cedarsoft.com/2010/11/setting-java-library-path-programmatically
         Field fieldSysPath = ClassLoader.class.getDeclaredField("sys_paths");
         fieldSysPath.setAccessible(true);

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/0f5ef74c/job/src/test/java/org/apache/kylin/job/ITKafkaBasedIIStreamBuilderTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/ITKafkaBasedIIStreamBuilderTest.java b/job/src/test/java/org/apache/kylin/job/ITKafkaBasedIIStreamBuilderTest.java
index 23e0a98..0e977f9 100644
--- a/job/src/test/java/org/apache/kylin/job/ITKafkaBasedIIStreamBuilderTest.java
+++ b/job/src/test/java/org/apache/kylin/job/ITKafkaBasedIIStreamBuilderTest.java
@@ -62,7 +62,7 @@ public class ITKafkaBasedIIStreamBuilderTest {
     public static void beforeClass() throws Exception {
         ClassUtil.addClasspath(new File(HBaseMetadataTestCase.SANDBOX_TEST_DATA).getAbsolutePath());
         System.setProperty("hdp.version", "2.2.4.2-2"); // mapred-site.xml ref this
-        System.setProperty("java.library.path", "/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64/");
+        System.setProperty("java.library.path", ":/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.2.4.2-2/hadoop/lib/native");
         //http://blog.cedarsoft.com/2010/11/setting-java-library-path-programmatically
         Field fieldSysPath = ClassLoader.class.getDeclaredField("sys_paths");
         fieldSysPath.setAccessible(true);

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/0f5ef74c/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 95d9d8a..6087fb0 100644
--- a/server/src/main/java/org/apache/kylin/rest/DebugTomcat.java
+++ b/server/src/main/java/org/apache/kylin/rest/DebugTomcat.java
@@ -49,7 +49,7 @@ public class DebugTomcat {
             if (System.getProperty("hdp.version") == null)
                 System.setProperty("hdp.version", "2.2.4.2-2"); // mapred-site.xml ref this
 
-            System.setProperty("java.library.path", "/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64/");
+            System.setProperty("java.library.path", ":/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.2.4.2-2/hadoop/lib/native");
             //http://blog.cedarsoft.com/2010/11/setting-java-library-path-programmatically
             Field fieldSysPath = ClassLoader.class.getDeclaredField("sys_paths");
             fieldSysPath.setAccessible(true);

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/0f5ef74c/storage-hbase/src/test/java/org/apache/kylin/storage/hbase/steps/SandboxMetastoreCLI.java
----------------------------------------------------------------------
diff --git a/storage-hbase/src/test/java/org/apache/kylin/storage/hbase/steps/SandboxMetastoreCLI.java b/storage-hbase/src/test/java/org/apache/kylin/storage/hbase/steps/SandboxMetastoreCLI.java
index 2166359..2184d32 100644
--- a/storage-hbase/src/test/java/org/apache/kylin/storage/hbase/steps/SandboxMetastoreCLI.java
+++ b/storage-hbase/src/test/java/org/apache/kylin/storage/hbase/steps/SandboxMetastoreCLI.java
@@ -43,7 +43,7 @@ public class SandboxMetastoreCLI {
         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.4.2-2"); // mapred-site.xml ref this
-        System.setProperty("java.library.path", "/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64/");
+        System.setProperty("java.library.path", ":/usr/hdp/2.2.4.2-2/hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.2.4.2-2/hadoop/lib/native");
         //http://blog.cedarsoft.com/2010/11/setting-java-library-path-programmatically
         Field fieldSysPath = ClassLoader.class.getDeclaredField("sys_paths");
         fieldSysPath.setAccessible(true);