Uh oh!
There was an error while loading. Please reload this page.
HBASE-22842 Tmp directory should not be deleted when master restart used for user scan snapshot feature - #485
Conversation
| @@ -319,19 +320,22 @@ void checkTempDir(final Path tmpdir, final Configuration c, final FileSystem fs) | |||
| HFileArchiver.archiveRegions(c, fs, this.rootdir, tableDir, | |||
There was a problem hiding this comment.
The archiveRegions will archive all the hfiles and if all successfull... Then it will remains some dirs such as /.tmp/data/ns/table ? If we've deleted a namespace or table , the ns or table dir under .tmp will be also removed (If no, the we will remain many useless dir, that's not good) ?
Another concern is : if hfiles archiving failure happen and enable the snapshot acl sync, will we remain much hfiles under the .tmp dir ? will be storage consuming if so... maybe we need a UT ?
There was a problem hiding this comment.
The tmp namespace or table dirs are deleted if namespace or table are dropped. There are UTs in TestSnapshotScannerHDFSAclController to check it.
Add a warn log to record unarchived regions, if this problem happens in practice, we can fix this? And add UT in TestSnapshotScannerHDFSAclController.
Uh oh!
There was an error while loading. Please reload this page.
Apache-HBase
commented
Aug 13, 2019
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 13, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 13, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 13, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 14, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 14, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 14, 2019
💔 -1 overall
This message was automatically generated. |
…sed for user scan snapshot feature
Apache-HBase
commented
Aug 15, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 15, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 15, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Aug 16, 2019
💔 -1 overall
This message was automatically generated. |
…sed for user scan snapshot feature (#485)
…sed for user scan snapshot feature (apache#485)
No description provided.