Versions Compared

Key

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

Some plugins require a JDBC driver to be uploaded added to the namespace. For example, before you can run a pipeline with a MySQL batch source plugin, you need to upload add the supported MySQL driver to the namespace. You can upload add JDBC drivers in to a namespace from the CDAP Hub or the Namespace Admin page. You can also easily delete unneeded JDBC drivers from the Namespace Admin page.

Adding a JDBC Driver from the Hub

To add a JDBC driver from the Hub, follow these steps:

Adding a JDBC Driver from the Namespace Admin Page

To add a JDBC driver from the Namespace Admin page, follow these steps:

  1. Download the driver you want to use. For example, to download the JDBC driver for PostgreSQL, go to jdbc.postgresql.org and download the JAR file.

  2. In CDAP, click the hamburger menu and then click Namespace Admin.
    The Namespace Admin page appears.

  3. From the Namespace Admin page, click Drivers.

  4. Upload the JAR file and click Next.
    The driver version is added to the Version field.

  5. Enter the Name and Class Name of the driver.

  6. Click Finish.
    The driver is added to the namespace:

    Image Added

Deleting a JDBC Driver

To delete a JDBC driver from

...

a namespace, follow these steps:

  1. In CDAP, click the hamburger menu and then click Namespace Admin.
    The Namespace Admin page appears.

  2. From the Namespace Admin page, click Drivers.

  3. Click

Viewing Error Messages

If you receive an error while adding the JDBC driver, you can get additional details by clicking the arrows to the right of the message:

...