Querying using list and eval commands


#1

Originally published at: http://www.itversity.com/topic/cca175-querying-using-list-and-eval-commands-scala/

Connect string Almost all sqoop commands use connect string using --connect. It require following information: Database type (mysql, oracle etc) Hostname Port number Database Name (in case of mysql) Sqoop list commands Sqoop list, facilitate us to see list of databases or tables from the database. Run queries using Sqoop eval Any valid sql query…