Created
April 27, 2011 11:51
-
-
Save aterreno/944121 to your computer and use it in GitHub Desktop.
sqoop from mysql to hbase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo sqoop import --connect jdbc:mysql://mysql_server/mysql_table --table mysql_table_name --hbase-table hbase_table_name --hbase-row-key mysql_column --column-family metadata --hbase-create-table --username root -P |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment