Guest User

Untitled

a guest
Feb 8th, 2016
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. sudo -u hdfs sqoop import -m 1 --connect jdbc:mysql://localhost:3306/emp --username=root --password= --table ox_data_bkt_m_20160204 --target-dir /home/cloudera/ox_data_bkt_m --hive-import
  2.  
  3.  
  4. service mysqld start
  5.  
  6. sudo -u hdfs sqoop import -m 1 --connect jdbc:mysql://localhost:3306/emp --username=root --password= --table emp --target-dir
  7.  
  8. sqoop list-databases --connect jdbc:mysql://localhost:3306 --username=root --password=
  9.  
  10. sudo yum install mysql-server
Add Comment
Please, Sign In to add comment