Can we use variables inside sqoop commands while creating sqoop jobs and passing the values as parameters to the job.
For example something like below
sqoop --create myjob -- import --connect jdbc:xxx.. --username $username --password $Password ..
And pass the arguments while executing the job.
sqoop job -exec myjob username password
Hi Padmanabhan, this link will give you some insight, you can use shell script/local os variables to do this - https://community.hortonworks.com/questions/64361/how-to-implement-and-deploying-our-own-sqoop-frame...