What Should I Do If Recycle Bin Version I Set on the Spark Client Does Not Take Effect?
Symptom
The setting of fs.obs.hdfs.trash.version=1 on the Spark client did not take effect. After table was dropped, the path for storing files in the recycle bin remained unchanged.
- If fs.obs.hdfs.trash.version is set to 2, the recycle bin path is /user/.Trash/${userName}/Current.
- If fs.obs.hdfs.trash.version is set to 1, the recycle bin path is /user/${userName}/.Trash/Current.
Procedure
Log in to FusionInsight Manager and choose Cluster > Services > Hive, click Configurations > All Configurations, and select MetaStore (Role) > Customization. On the displayed page, set hive.metastore.customized.configs. Set fs.obs.hdfs.trash.version to 1, save the settings, and restart the Metastore instance.
After Hive Metastore is configured, the recycle bin path is correct.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot