Because some of Hue table structure changes, after upgrading to CDH5.8 and above, data will be migrated from old tables to new tables. During this process, things may fail due to below various reasons:
- Saved query or query history entry had invalid characters that failed the conversion.
- Multiple Home and .Trash directories created after upgrading.
- Hue code issue to handle migration of certain documents during upgrade