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
1)start hdfs: start-all.sh | |
2)create a directory raudra: hadoop fs -mkdir /user/satwik/raudra | |
3)create a file, name it as big on your local filesystem and upload it to hdfs under /raudra: bin/hdfs dfs -copyFromLocal /home/satwik/Desktop/big/raudra | |
4)view content: bin/hdfs dfs -cat /user/satwik/raudra/big | |
5)view size of big: bin/hdfs dfs -du -h /user/satwik/raudra |