Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Move to Trash option in HUE not enabled

Solved Go to solution

Move to Trash option in HUE not enabled

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

Accepted Solutions

Re: Move to Trash option in HUE not enabled

Community Manager

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 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

2 REPLIES 2

Re: Move to Trash option in HUE not enabled

Community Manager

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 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

Highlighted

Re: Move to Trash option in HUE not enabled

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