Simply add —libjars will solve this.
I did this to Teradata and it works.
John Zhao
> On Apr 13, 2015, at 10:57 AM, Abraham Elmahrek <abe@cloudera.com> wrote:
>
> Hmmm have you tried combining the two jars together and supplying that to /var/lib/sqoop?
>
> On Mon, Apr 13, 2015 at 5:46 AM, Chalcy <chalcy@gmail.com <mailto:chalcy@gmail.com>>
wrote:
> Hello All,
>
> This is nothing to do with DB2. Sqoop needs this jar to be specified explicitly like
-libjars db2jcc_license_*.jar although I have this is /var/lib/sqoop.
>
> I am not sure if this has been corrected in the latest releases. Using sqoop1.4.4 cdh5.1.3+59.
>
> Thanks,
> Chalcy
>
> On Thu, Apr 9, 2015 at 1:42 PM, Chalcy <chalcy@gmail.com <mailto:chalcy@gmail.com>>
wrote:
> I found this below and hence asking the db2 team about the same.
>
> Thanks, Brett
>
> The message comes from the JDBC driver and has nothing to do with the licensing for DbVisualizer.
> What you need to do is open the Tools->Driver Manager <http://confluence.dbvis.com/display/UG91/Installing+a+JDBC+Driver>
in DbVisualizer and add the requested db2jcc_license_*.jar file to the User Specified Driver
File Paths for the DB2 driver.
>
> The db2jcc_license_*.jar file is usually included with the DB2 Connect software.
>
> On Thu, Apr 9, 2015 at 1:40 PM, Brett Medalen <bmedalen@hotmail.com <mailto:bmedalen@hotmail.com>>
wrote:
> The last error looks like the issue:
>
> Connection to the data server failed. The IBM Data Server for JDBC and SQLJ license was
invalid.
>
> Have you tried that JDBC driver outside of Sqoop?
>
> > On Apr 9, 2015, at 1:39 PM, Chalcy <chalcy@gmail.com <mailto:chalcy@gmail.com>>
wrote:
> >
> > Connection to the data server failed. The IBM Data Server for JDBC and SQLJ license
was invalid
>
>
>
|