Reputation: 11
After running a sqoop jobs I got the files .deflate
extension (compression is configured by default). I know that I can show the file content using following command:
hadoop fs -text <file>
How can I copy this result to my local folder?
Upvotes: 1
Views: 9049
Reputation: 2691
Just redirect output to some local file
hadoop fs -text hdfs_path > local_file.txt
Upvotes: 8