Hi,

Sqoop provides a  mechanism to save jobs & run periodically. I need to save
passwords for sqoop jobs in metastore so that it didn't ask for password
every time when job runs may be crons.

I set below parameters in sqoop-site.xml :-

<configuration>
<property>
    <name>sqoop.metastore.client.record.password</name>
    <value>true</value>
    <description>If true, allow saved passwords in the metastore.
    </description>
  </property>
<property>
    <name>sqoop.metastore.client.enable.autoconnect</name>
    <value>true</value>
    <description>If true, Sqoop will connect to a local metastore
      for job management when no other metastore arguments are
      provided.
    </description>
  </property>

Still don't know why it prompts for password everytime and wonders job
started without entering password  and pressing enter on password prompt.


Thanks

Reply via email to