Expert Contributor
Posts: 71
Registered: ‎09-14-2017

Move to Trash option in HUE not enabled

Using Hue™ 4.1 on CDH 5.16 I only see the Delete Forever button in File Browser but not the Move to Trash even though Use Trash is enabled in HDFS configuration. How to enable this in HUE?

Posts: 674
Kudos: 16
Solutions: 5
Registered: ‎05-27-2014

Re: Move to Trash option in HUE not enabled

Hi @ebeb,


After reading through some Jira's, I see that there has been a fundamental feature change where Hue does not automatically create the .Trash directory.
This behavior seemed to start in CDH 5.14 that Hue no longer automatically creates .Trash directory. There was an internal bug filed for it and the bug was fixed in CDH 6.1.


Two options for you:

1) Upgrade to CDH 6.1

2) If you can not upgrade to CDH 6.1 at this moment, you can use below workaround:

You can manually create the .Trash directory in the user's home directory. Once this directory is created and the Hue File Browser page is refreshed, you will be able to see the "Move to Trash" option again.


Thanks and hope this helps,


Li Wang, Technical Resolution Manager

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum