title: Sqoop vs Sqoop2 commands
body: <p>One of the advantages of migrating to Sqoop2 is that we are not sharing database credentials with clients.</p>
  
  <p>Now when we execute Sqoop commands, they look like below:</p>
  
  <blockquote>
    <p>sqoop import --connect ... --username ... --table ... </p>
  </blockquote>
  
  <p>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.</p>
  
  <p>Here also we are sharing credentials of Sqoop2 server with all the clients. Is it not violating basic principle for which we created Sqoop2?</p>