Member since
03-31-2017
21
Posts
3
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
5507 | 08-18-2017 05:43 AM | |
17424 | 05-19-2017 11:54 PM |
08-18-2017
05:43 AM
Thank you @Sonu Sahi for the response. I checked your colleague's blog. He is using password file but not the password alias (credential provider) which is saving password in keystore instead of file. Any way I finally figure out how to make it work. In case some one else need this in the future, I paste my solution here: The option file: import -connect
"jdbc:sqlserver://host:1433;database=DB1" Script for Sqoop job defination: sqoop job -Dhadoop.security.credential.provider.path=jceks://hdfs/user/root/mysql.password.jceks --create sqoop_test -- options-file db.props --username sqoop_ro --password-alias sqoop_ro.passwd --target-dir /XXX --query 'select ....' This works for me. Thanks
... View more
03-18-2018
06:01 PM
@Steve Hofstra Have a look at some note in learning ropes for sandbox That should help
... View more
05-18-2017
08:47 PM
@Lucy zhang There was a bug in virtualbox that I shared in above jira. That's why you get that issue.
... View more
03-31-2017
06:32 PM
Thanks. The upper case of first letter for java type works. --map-column-java isactive=Integer,etl_isactive=Integer. Execution successfully: INFO mapreduce.ImportJobBase: Retrieved 88281 records.
... View more