Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1037

Remove hardcoded "hdp.version" from regression tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • v1.0
    • v1.1
    • Others
    • None
    • Sprint 48

    Description

      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;

      Attachments

        Activity

          People

            shaofengshi Shao Feng Shi
            shaofengshi Shao Feng Shi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: