티스토리 뷰

공부

[HDFS] remove .Trash (check quota)

승가비 2020. 11. 15. 01:15
728x90
hdfs dfs -count -q -v hdfs://asdf/user/asdf
hdfs dfs -rm -R -skipTrash hdfs://pct/user/asdf/.Trash
hdfs dfs -count -q -v hdfs://asdf/user/asdf

https://community.cloudera.com/t5/Support-Questions/set-fs-trash-interval-to-zero-in-order-to-avoid-files-to-be/td-p/213737

 

set fs.trash.interval to zero in order to avoid files to be in trash

we want to set the parameter fs.trash.interval to zero as fs.trash.interval=o because when we delete files then files then they go to the trash example: hdfs dfs -rm -R /spark2-history/* and when we disable the fs.trash.interval , then files supposed to be

community.cloudera.com

https://118k.tistory.com/541

 

[hdfs] 하둡 hdfs의 휴지통 설정하기

hdfs에는 사용자의 실수로 인한 파일의 삭제를 방지하기 위해서 휴지통 기능이 존재한다. fs.trash.interval - 0 으로 설정하면 휴지통 기능을 사용하지 않음 - 설정한 분(minute) 간격으로 체크해서 시간

118k.tistory.com

 

728x90

'공부' 카테고리의 다른 글

[HTTP] header is case-insensitive  (0) 2020.11.20
[Apache] SSL & tomcat  (0) 2020.11.20
[MySQL] auto restart by crontab  (0) 2020.11.07
[Python] init array  (0) 2020.11.07
[Python] inf 무한대  (0) 2020.11.07
댓글