Hi Team,

I'm invoking Sqoop via Oozie with the Optionsfile. Now I need to use Wallet
file for Authentication. I'm able to use wallet file in command line. But
when I gave those args in Oozie Sqoop Action, I'm getting Unknown Host
specified Error. PFB the command used in oozie Sqoop Action.

<command> import -Dmapreduce.job.quenename=a
-Dmapred.map.child.java.opts='-Doracle.net.tns_admin=.
-Doracle.net.wallet_location=. -Dyarn.app.mapreduce.am.staging-dir=//dev'
-files cwallet.sso,ewallet.p12,sqlnet.ora,tnsnames.ora -libjars
oraclepki.jar,osdt_cert.jar,osdt_core.jar --options-file
Options_File</command>
<file>${walletLocation}/cwallet.sso#cwallet.sso</file>
<file>${walletLocation}/ewallet.p12#ewallet.p12</file>
<file>${walletLocation}/sqlnet.ora#sqlnet.ora</file>
<file>${walletLocation}/tnsnames.ora#tnsnames.ora</file>

Kindly help.

Thanks,
Arun

-- 

*Clarity Solution Group is now Clarity Insights. Check out our website 
using the link below. *
*ClarityInsights.com* <http://ClarityInsights.com>

Reply via email to