Shaofeng SHI created KYLIN-1037:
-----------------------------------
Summary: Remove hardcoded "hdp.version" from regression tests
Key: KYLIN-1037
URL: https://issues.apache.org/jira/browse/KYLIN-1037
Project: Kylin
Issue Type: Improvement
Components: General
Affects Versions: v1.0
Reporter: Shaofeng SHI
Assignee: Shaofeng SHI
Fix For: v1.1
This only affects Kylin integration test and debugging, as we use HDP as the
dev environment; If you’re normal users using Kylin binary package, you can
ignore this;
Today in Kylin regression test cases, we have some hardcoded HDP version like
“2.2.4.2-2”; While recently if you install a HDP 2.2, its version will be
“2.2.8.0-3150”; To allow running on different CI/sandboxes, we need remove
these hardcoded version, will read from system property in the future;
So, when you run regression test, please add a system property for
“hdp.version” like this:
mvn test -Dtest=org.apache.kylin.job.BuildCubeWithEngineTest
-DfailIfNoTests=false -Dhdp.version=2.2.4.2-2 -P sandbox
For users run DebugTomcat, please also add such that in your IDE configuration;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)