#TO USE THE PASSWORD-ALIAS IN OUR SQOOP COMMAND #ex: a sqoop eval job to count the number of rows in order table sqoop eval \ -Dhadoop.security.credential.provider.path=jceks://hdfs/user/cloudera/mysql.password.jceks \ --connect jdbc:mysql://quickstart.cloudera:3306/retail_db \ --username root \ --password-alias mysql.banking.password \ --query "SELECT COUNT(*) FROM orders"
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter