Last active
February 7, 2017 15:17
-
-
Save robenalt/f6ad257236db5ae8fb88 to your computer and use it in GitHub Desktop.
Load a Remote file to hadoop through an edge node via ssh piping
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
# Load a Remote file to hadoop through ssh | |
cat /some/path/tofile.csv | ssh user@host "hadoop fs -put - /some_hdfs/path/for/the/file.csv" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment