One of the advantages of migrating to Sqoop2 is that we are not sharing database credentials with clients.
Now when we execute Sqoop commands, they look like below:
sqoop import --connect ... --username ... --table ...
When we upgrade to Sqoop2 then also we are executing same command except that connection string will point to Sqoop2 server rather than actual RDBMS (involved in transfer) and credentials will be of Sqoop2 server.
Here also we are sharing credentials of Sqoop2 server with all the clients. Is it not violating basic principle for which we created Sqoop2?