Skip to main content
ebeb
Gold ⭐️⭐️
Jan 30, 2019 4:15 PM UTC
Solved

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?

lwang
lwangAnswer
Platinum ⭐️
Jan 30, 2019 7:01 PM UTC

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

2 replies

lwang
Platinum ⭐️
lwangAnswer
Platinum ⭐️
Jan 30, 2019 7:01 PM UTC

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

Translate
Li Wang, Technical Solution Manager
ebeb
ebebAuthor
Gold ⭐️⭐️
Feb 28, 2019 4:02 PM UTC
Thanks! Manually create the .Trash directory in the user's home directory works to show "Move to Trash" in HUE.
Translate