Querying using list and eval commands


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

Before getting into actual Sqoop commands such as import and export, it is important to understand how we can get information about databases, tables and data using list-databases list-tables eval 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…