CDH File System spam Interval Settings

Source: Internet
Author: User
Tags hadoop fs

When I deleted a hive table today, I found that the HDFS space was not released. At first I thought it was a problem to delete the table. The results were not found on HDFS, the final result is that the CDH namenode has a file system spam interval setting. The default setting is one day. That is to say, it takes one day to delete the deleted file.

Configuration, hoping to help people with the same questions. 650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/48/19/wKioL1QFnS7zBMbBAACHV__2jsg463.jpg "Title =" 2222.png" alt = "wkiol1jwns7zbmbbaachv%2jsg463.jpg"/>


You can also manually delete this file. my junk files are stored in

Hadoop FS-ls/user/root/. Trash/can be deleted directly or immediately released.

This article from the "programmer's counterattack" blog, please be sure to keep this source http://cdelliqi.blog.51cto.com/9028667/1547992

CDH File System spam Interval Settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.