Versions Compared

Key

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

Some plugins require a JDBC driver to be added to the namespace. For example, before you can run a pipeline with a MySQL batch source plugin, you need to add the supported MySQL driver to the namespace. You can add JDBC drivers to a namespace from the CDAP Hub, the Namespace Admin page, or the CDAP HubAdd entity page. You can also 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:

  1. From the CDAP Hub, search for the driver you want to add to the namespace.

    Image Added
  2. Click the tile for the driver you want to add.

  3. To get information about where to download the JAR file, click 1. Download.

  4. To upload the JAR file, click 2. Deploy.

  5. Upload the JAR file and click Next.

  6. Verify the Class Name and Version of the driver.

  7. (Optional) Edit the Name of the driver.

  8. Click Finish.
    The driver is added to the namespace.

Adding a JDBC Driver from the Namespace Admin Page

...

  1. Download the driver you want to use. For example, to download the JDBC driver for PostgreSQLMySQL, go to jdbcdev.postgresqlmysql.orgcom 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 RemovedImage Added

Adding a JDBC Driver from the

...

Add Entity Page

To add a JDBC driver from the HubAdd Entity page, follow these steps:

  1. From the CDAP Hub, search for Download the driver you want to add use. For example, to the namespace.

    Image Removed
  2. Click the tile for the driver you want to add.

  3. To get information about where to download the JDBC driver for MySQL, go to dev.mysql.com and download the JAR file.

  4. In the Pipeline Studio, click 1. Download.To upload the JAR file, click 2. Deploy.the green plus sign.

    Image Added

    The Add entity page appears.

  5. From the Add entity page, click Upload in the Drivers box.

    Image Added
  6. Upload the JAR file and click Next.

  7. Verify the Class Name and Version of the driver.

  8. (Optional) Edit the The driver version is added to the Version field.

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

  10. 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:

...