I am trying to connect postgres with sqoop
Sqoop version 1.4.6-cdh5.14.2
With command
sqoop list-tables --connect jdbc:postgresql://120.4.99.798:portnumber/db --driver org.postgresql.Driver --connection-manager org.apache.sqoop.manager.GenericJdbcManager --username user --password p
But I am getting
could not load db driver class org.apache.Driver error
But JDBC jar is present in /var/lib/sqoop2