Knowledge about Apache Sqoop and its all basic commands to import and export the Data
Sqoop is a command-line interface application for transferring data between Relational Databases and Hadoop. We can say that Sqoop is a connector between RDBMS to Hadoop (Import) or Hadoop to RDBMS(Export). Options while importing data to Hadoop: . Importing table data from RDBMS table to HDFS(file system) . Importing table data from RDBMS table to Hive table . Importing table data from RDBMS table to HBase Options while exporting data to RDBMS: . Exporting data from HDFS(file system) to RDBMS table . Export data from Hadoop (Hive) to RDBMS table List all databases in MySQL sqoop-list-databases --connect jdbc:mysql://localhost --username hadoop --password hadoop List all tables in MySQL sqoop-list-tables --connect jdbc:mysql://localhost/hive --username hadoop --P Note : If we pass -P as parameter, we can give the password in the run time so that the password is not hard-coded for security reasons. Pass param