Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As CDAP is an open source project, you can download the source, import it into an IDE, and then modify, build, and run CDAP.

...

  1. Install all the prerequisite system requirements for CDAP development.

  2. Either clone the CDAP repo or download a ZIP of the source:

    • Clone the CDAP repository using $ git clone -b v6.23.0 https://github.com/cdapio/cdap.git

    • Download the source as a ZIP from GitHub and unpack the ZIP in a suitable location

  3. In your IDE, install the Scala plugin (for IntelliJ or Eclipse) as there is Scala code in the project.

  4. Open the CDAP project in the IDE as an existing project by finding and opening the cdap/pom.xml.

  5. Resolve dependencies: this . This can take quite a while, as there are numerous downloads required.

  6. In the case of IntelliJ, you can create a run configuration to run CDAP Sandbox:

    1. Click Run > Edit Configurations...

    2. Add a new "Application" run configuration.

    3. Set Main class to be io.cdap.cdap.StandaloneMain.

    4. Set VM options to -Xmx1024m (for in-memory MapReduce jobs).

    5. Click OK.

    6. You can now use this run configuration to start an instance of CDAP Sandbox.

...