Created
March 30, 2017 23:22
-
-
Save ianchen06/a63936b160417d04d912b482089ec5d4 to your computer and use it in GitHub Desktop.
tar small files together and pipe to hadoop
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
tar czvf - *.json | ssh [email protected] "hadoop fs -put - /user/youbike/youbike_data.tar.gz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment