[ https://issues.apache.org/jira/browse/HBASE-24546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17152079#comment-17152079 ]
Hudson commented on HBASE-24546: -------------------------------- Results for branch branch-2.3 [build #173 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/173/]: (/) *{color:green}+1 overall{color}* ---- details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/173/General_20Nightly_20Build_20Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/173/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/] (/) {color:green}+1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/173/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 jdk11 hadoop3 checks{color} -- For more information [see jdk11 report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/173/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > CloneSnapshotProcedure unlimited retry > -------------------------------------- > > Key: HBASE-24546 > URL: https://issues.apache.org/jira/browse/HBASE-24546 > Project: HBase > Issue Type: Bug > Components: snapshots > Affects Versions: 2.3.0, master, 2.2.5 > Reporter: wenfeiyi666 > Assignee: wenfeiyi666 > Priority: Major > Fix For: 3.0.0-alpha-1, 2.3.1, 2.2.6 > > > since regions dir was not remove in the previous execution created, need to > be remove when retrying, resulting in exception, unlimited retry > {code:java} > procedure.CloneSnapshotProcedure: Retriable error trying to clone > snapshot=snapshot_test to table=test:backup > state=CLONE_SNAPSHOT_WRITE_FS_LAYOUT > org.apache.hadoop.hbase.snapshot.RestoreSnapshotException: clone snapshot={ > ss=snapshot_test table=test:backup type=FLUSH } failed because A clone should > not have regions to remove > at > org.apache.hadoop.hbase.master.procedure.CloneSnapshotProcedure$1.createHdfsRegions(CloneSnapshotProcedure.java:434) > at > org.apache.hadoop.hbase.master.procedure.CloneSnapshotProcedure.createFsLayout(CloneSnapshotProcedure.java:465) > at > org.apache.hadoop.hbase.master.procedure.CloneSnapshotProcedure.createFilesystemLayout(CloneSnapshotProcedure.java:392) > at > org.apache.hadoop.hbase.master.procedure.CloneSnapshotProcedure.executeFromState(CloneSnapshotProcedure.java:142) > at > org.apache.hadoop.hbase.master.procedure.CloneSnapshotProcedure.executeFromState(CloneSnapshotProcedure.java:67) > at > org.apache.hadoop.hbase.procedure2.StateMachineProcedure.execute(StateMachineProcedure.java:194) > at > org.apache.hadoop.hbase.procedure2.Procedure.doExecute(Procedure.java:962) > at > org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1662) > at > org.apache.hadoop.hbase.procedure2.ProcedureExecutor.executeProcedure(ProcedureExecutor.java:1409) > at > org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$1100(ProcedureExecutor.java:78) > at > org.apache.hadoop.hbase.procedure2.ProcedureExecutor$WorkerThread.run(ProcedureExecutor.java:1979) > Caused by: java.lang.IllegalArgumentException: A clone should not have > regions to remove > at > org.apache.hbase.thirdparty.com.google.common.base.Preconditions.checkArgument(Preconditions.java:142) > at > org.apache.hadoop.hbase.master.procedure.CloneSnapshotProcedure$1.createHdfsRegions(CloneSnapshotProcedure.java:418) > ... 10 more > {code} > and the cloned regions name are unchanged, resulting in new created regions > be removed when retrying -- This message was sent by Atlassian Jira (v8.3.4#803005)