HDInsight: Commands to clean up the space

vijay singh parmar 26 Reputation points
2022-03-10T19:51:28.77+00:00

Hi,

at my workplace, we are using HDInsight 3.6. We have encountered space issues before, but we were able to resolve them by simply executing the simple cleanup commands from the edge node. Unfortunately, these commands have not been useful recently. Despite removing the unwanted files from directories, the space doesn't get freed up. Does anyone have any other practical suggestions for cleaning up disk space?

testuser@ed06-test:~$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 124G 124G 190M 100% /

**

  • Tried Commands:

**
hdfs dfs -rm -R -skipTrash /<folder-path>
hdfs dfs -expunge

Azure HDInsight
Azure HDInsight
An Azure managed cluster service for open-source analytics.
199 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 79,551 Reputation points Microsoft Employee
    2022-03-11T07:11:48.713+00:00

    Hello @vijay singh parmar ,

    Welcome to the MS Q&A platform.

    This article helps on how to resolve the cluster node runs out of disk space in Azure HDInsight.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    1 person found this answer helpful.