Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left

  Apply Now

Sqoop

4 / 6

Sqoop Import - MySQL to HBase




Not able to play video? Try with vimeo

Hands-On Commands

sqoop import --connect jdbc:mysql://10.142.1.2/sqoopex --table widgets --hbase-table 'sgiri:widgets' --column-family cf2 --username sqoopuser --hbase-create-table --columns id,widget_name --hbase-row-key id -m 1 --password NHkkP876rp

sqoop import --connect jdbc:mysql://10.142.1.2/sqoopex --table widgets --hbase-table 'sgiri:widgets' --column-family cf1 --username sqoopuser --hbase-create-table --columns id,design_date --hbase-row-key id -m 1 --password NHkkP876rp


Loading comments...