- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to convert json into sql format through Nifi ?
- Labels:
-
Apache NiFi
Created on ‎06-06-2017 10:01 AM - edited ‎08-17-2019 11:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using HDP 2.4. I try to convert json into sql format for this I use "ConvertJSONToSQL processor" but I got driver issue!, can anyone help me to resolve this issue
ConvertJSONToSQL processor properties
DBCPConnectionPool properties
Error
Created ‎06-07-2017 02:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NiFi doesn't come with a PostgreSQL driver, you will need to get one and point to its location in the "Database Driver Jar Url" property in the DBCPConnectionPool configuration dialog above. If you already have one and have placed it in NiFi's lib/ directory, this can cause problems and is not recommended. Best practice is to put JDBC drivers in a separate location and refer to that location in the "Database Driver Jar Url" property.
Created on ‎06-07-2017 09:28 AM - edited ‎08-17-2019 11:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I create a separate directory in local and import PostgreSQL driver jar into it. After that I point to its location into "Database Driver Jar URL" property, but still I got issue that I mention below.
Created ‎06-13-2017 08:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That error is a bit different, can you share the associated stack trace from the log(s) (logs/nifi-app.log, e.g.)?
Created ‎07-24-2017 12:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Matt Burgess
Created ‎07-24-2017 08:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try three slashes in the Database Driver Jar Url property: file:///post/postgresql-42.1.1.jar
