sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manickam P <manicka...@outlook.com>
Subject RE: Unable to connect to oracle database from sqoop
Date Fri, 21 Jun 2013 05:54:20 GMT
Given below is the scoop script i used.  ./sqoop list-databases --connect jdbc:oracle:thin:@localhost:1521/cp
--username scott --password tigerJDBC driver directory - which directory you mean here? i
have put ojdbc jar in sqoop lib folder. Is that fine or am i missing anything here? 

Manickam P
Date: Thu, 20 Jun 2013 16:04:50 +0200
Subject: Re: FW: Unable to connect to oracle database from sqoop
From: verdier.jerome66@gmail.com
To: user@sqoop.apache.org


Please send your Sqoop script, and the output of "ls" command on your JDBC driver directory.


2013/6/20 Manickam P <manickam.p@outlook.com>


I am trying to import details from oracle through sqoop but i got the below error. 
   13/06/20 09:09:21 ERROR manager.OracleManager: Failed to list databasesjava.sql.SQLException:
Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

I've put an entry into the TNSname.ora file and also added ojdbc jar with sqoop lib folder.

Please help me to resolve the issue.

Manickam P

View raw message