You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Jackson Yao (Jira)" <ji...@apache.org> on 2021/12/22 12:10:00 UTC
[jira] [Resolved] (HDDS-6101) use `Fileutils.move` instead of `Files.move` when installing snapshot
[ https://issues.apache.org/jira/browse/HDDS-6101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jackson Yao resolved HDDS-6101.
-------------------------------
Resolution: Fixed
> use `Fileutils.move` instead of `Files.move` when installing snapshot
> ---------------------------------------------------------------------
>
> Key: HDDS-6101
> URL: https://issues.apache.org/jira/browse/HDDS-6101
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Jackson Yao
> Assignee: Jackson Yao
> Priority: Major
> Labels: pull-request-available
>
> in our cluster , we put scm db and ratis in different directories which in different disk partitions. but when bootstraping this cluster , we found the ozone cluster does not work well because the follower scm fail to install snapshot. after investigating, we found the db checkpoint will be downloaded to the directory the same as the ratis log by default. when replacing the old db, scm will use `files.move` to move the checkpoint to the db directory. but according to the description of it, When moving a directory requires that its entries be moved then this method fails (by throwing an IOException).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org