Created
July 9, 2015 22:53
-
-
Save sashaegorov/0b5065619e862b54fef6 to your computer and use it in GitHub Desktop.
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
$ ssh egorov@hdp001.rdb | |
$ echo 42 > big_data.txt | |
$ hadoop fs -put big_data.txt /tmp | |
$ hadoop fs -ls /tmp | |
Found 1 item | |
-rw-r--r-- 3 egorov supergroup 3 2015-07-10 02:41 /tmp/big_data.txt | |
$ hadoop fs -du /tmp/big_data.txt | |
3 /tmp/big_data.txt | |
[egorov@hdp001 ~]$ hadoop fs -stat %o /tmp/big_data.txt | |
134217728 | |
[egorov@hdp001 ~]$ hdfs getconf -confKey dfs.blocksize | |
134217728 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment