Last active
August 29, 2015 14:24
-
-
Save zdepablo/1d2f21926c486474d2df to your computer and use it in GitHub Desktop.
Quick Receipts for Hadoop Filesystem
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
# Reference: http://hadoop.apache.org/docs/r2.7.0/hadoop-project-dist/hadoop-common/FileSystemShell.html | |
# Show disk usage in human format | |
hadoop fs -du -s -h /user/hive/warehouse/da_cdepablo* | |
# Show permissions | |
hadoop fs -getfacl /user/hive/warehouse/da_cdepablo* | |
# Change permissions | |
hadoop fs -setfacl -R -m other::rwx /user/hive/warehouse/da_cdepablo | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment