Skip to content

Commit 4fe152f

Browse files
authored
Merge pull request #1 from MEILIDEKCL/MEILIDEKCL-patch-1
HADOOP-18362. Solve ZKFailoverController throw ambiguous exception
2 parents 965fd38 + e9370e3 commit 4fe152f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ZKFailoverController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public Integer run() {
185185
}
186186
});
187187
} catch (RuntimeException rte) {
188-
throw (Exception)rte.getCause();
188+
throw (Exception)rte;
189189
}
190190
}
191191

0 commit comments

Comments
 (0)