Created
August 21, 2013 14:27
-
-
Save sankars/6295174 to your computer and use it in GitHub Desktop.
CDH3 to CDH4 data migration
This file contains hidden or 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
## @CDH3 | |
hadoop jar hbase-0.90.6-cdh3u4.jar export table_name /exports/directory_name | |
## @CDH4 | |
hadoop fs -cp hftp://cdh3_namenode:50070/ /exports | |
hadoop jar $HBASE_HOME/hbase-0.94.6-cdh4.3.0-security.jar import table_name /exports/directory_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment