Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Move to Trash option in HUE not enabled

avatar
Expert Contributor

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?

1 ACCEPTED SOLUTION

avatar
Guru

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

Li Wang, Technical Solution 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

View solution in original post

2 REPLIES 2

avatar
Guru

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

Li Wang, Technical Solution 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

avatar
Expert Contributor
Thanks! Manually create the .Trash directory in the user's home directory works to show "Move to Trash" in HUE.