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

Automatically create local cluster for running tests

    XMLWordPrintableJSON

Details

    Description

      Phoenix automatically creates a mini-cluster when you run a test. For example, download the latest Phoenix, do 'mvn -DskipTests install', open UpsertBigValuesIT.java in Intellij, and press Control-Shift-F10. (It works in Eclipse too.) The test creates a mini-cluster, runs 4 test methods, and tears down the cluster. It takes 1 minute to run. No configuration whatsoever is required.

      I know that this kind of automation hard to achieve, but it allows casual committers (like me) to get involved in the project without spending hours or days setting up the environment.

      Since Phoenix and Kylin are both based on HBase, you could probably copy-paste their maven XML and the base classes for their tests.

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/KylinOLAP/Kylin/issues/53
      Created by: julianhyde
      Labels: enhancement,
      Milestone: v0.6.2 Release
      Assignee: shaofengshi
      Created at: Fri Nov 14 06:01:18 CST 2014
      State: open

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: