- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Can't connect to postgres using sqoop; HW Sandbox HDP 2.6.5
- Labels:
-
Apache Sqoop
Created ‎11-11-2022 07:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have been trying to connect to postgres DB using sqoop so i can import a table from there to HDFS; however I keep getting errors and have tried variuos solutions online but none seem to work..
connection string = sqoop list-tables --connect jdbc:postgresql://"ip of db or localhost":5432/postgres --username yomi --password mypassword
here below is the error im facing on putty and also my config file
the authentication type 10 is not supported. check that you have configured the pg_hba.conf file to include the client's ip address or subnet
pg_hba:
thanks in advance for the help!
Created ‎11-12-2022 12:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created on ‎11-14-2022 04:02 AM - edited ‎11-14-2022 04:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for response,, made the changes but still getting the error
Created ‎11-14-2022 04:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for response,, made the changes but still getting the error
