Enrollments Open for Certification Course on Artificial Intelligence and Deep Learning by IIT Roorkee

  Apply Now

Sqoop Import - MySQL to HBase

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


No hints are availble for this assesment

Answer is not availble for this assesment

Loading comments...