<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Password Encryption in Sqoop Job not working in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Password-Encryption-in-Sqoop-Job-not-working/m-p/161417#M41228</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/12353/njayakumar.html"&gt;@njayakumar&lt;/A&gt; passed the Generic arguments first to the sqoop job, now its working fine. Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2016 18:40:44 GMT</pubDate>
    <dc:creator>reddy_gayathri</dc:creator>
    <dc:date>2016-09-20T18:40:44Z</dc:date>
    <item>
      <title>Password Encryption in Sqoop Job not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Password-Encryption-in-Sqoop-Job-not-working/m-p/161414#M41225</link>
      <description>&lt;P&gt;I am using password encryption method in Sqoop job for data ingestion into Hadoop. Used Dhadoop.security.credential.provider.path to encrypt the password.&lt;/P&gt;&lt;P&gt;But when I try to create the Sqoop job in CLI, it is unable to parse the arguments. Below is the code I used and error I got also mentioned below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CODE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sqoop job --create password-test --meta-connect jdbc:hsqldb:hsql://&amp;lt;hostname&amp;gt;:&amp;lt;port&amp;gt;/sqoop -- import -Dhadoop.security.credential.provider.path=jceks://hdfs/user/&amp;lt;username&amp;gt;/&amp;lt;username&amp;gt;.password.jceks --connect "jdbc:oracle:thin:&amp;lt;hostname&amp;gt;:&amp;lt;Port&amp;gt;:&amp;lt;sid&amp;gt;" --username &amp;lt;username&amp;gt; --table &amp;lt;tablename&amp;gt; --password-alias &amp;lt;password-alias-name&amp;gt; --fields-terminated-by '\001' --null-string '\N' --null-non-string '\N'  --lines-terminated-by '\n' --target-dir '/user/&amp;lt;username&amp;gt;/&amp;lt;staging loc&amp;gt;' --incremental append --check-column &amp;lt;colname&amp;gt; --last-value &amp;lt;value&amp;gt; --num-mappers 8&lt;/P&gt;&lt;P&gt;ERROR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7819-119ti.png" style="width: 1585px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20675i6B291C6B2CAE20DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7819-119ti.png" alt="7819-119ti.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:53:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Password-Encryption-in-Sqoop-Job-not-working/m-p/161414#M41225</guid>
      <dc:creator>reddy_gayathri</dc:creator>
      <dc:date>2019-08-18T11:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Password Encryption in Sqoop Job not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Password-Encryption-in-Sqoop-Job-not-working/m-p/161415#M41226</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12150/reddy-gayathri.html" nodeid="12150"&gt;@Gayathri Reddy G&lt;/A&gt; - pass generic arguments like -D after SQOOP JOB -Dhadoop.security.credential.provider.path=jceks ....&lt;/P&gt;&lt;P&gt;General syntax is &lt;/P&gt;&lt;PRE&gt;sqoop-job (generic-args) (job-args) [-- [subtool-name] (subtool-args)]&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Sep 2016 17:54:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Password-Encryption-in-Sqoop-Job-not-working/m-p/161415#M41226</guid>
      <dc:creator>njayakumar</dc:creator>
      <dc:date>2016-09-20T17:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Password Encryption in Sqoop Job not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Password-Encryption-in-Sqoop-Job-not-working/m-p/161416#M41227</link>
      <description>&lt;PRE&gt;You must supply the generic arguments &lt;CODE&gt;-conf&lt;/CODE&gt;, &lt;CODE&gt;-D&lt;/CODE&gt;, and so on after the tool name but &lt;STRONG&gt;before&lt;/STRONG&gt; any tool-specific arguments (such as &lt;CODE&gt;--connect&lt;/CODE&gt;). Note that generic Hadoop arguments are preceeded by a single dash character (&lt;CODE&gt;-&lt;/CODE&gt;), whereas tool-specific arguments start with two dashes (&lt;CODE&gt;--&lt;/CODE&gt;), unless they are single character arguments such as &lt;CODE&gt;-P&lt;/CODE&gt;.&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_using_generic_and_specific_arguments"&gt;https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_using_generic_and_specific_arguments&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 17:58:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Password-Encryption-in-Sqoop-Job-not-working/m-p/161416#M41227</guid>
      <dc:creator>njayakumar</dc:creator>
      <dc:date>2016-09-20T17:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Password Encryption in Sqoop Job not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Password-Encryption-in-Sqoop-Job-not-working/m-p/161417#M41228</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/12353/njayakumar.html"&gt;@njayakumar&lt;/A&gt; passed the Generic arguments first to the sqoop job, now its working fine. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:40:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Password-Encryption-in-Sqoop-Job-not-working/m-p/161417#M41228</guid>
      <dc:creator>reddy_gayathri</dc:creator>
      <dc:date>2016-09-20T18:40:44Z</dc:date>
    </item>
  </channel>
</rss>

