HADOOP-11328. ZKFailoverController does not log Exception when doRun raises errors. Contributed by Tianyin Xu.
(cherry picked from commit bb9ddef0e7
)
This commit is contained in:
parent
1e1ebbb42b
commit
c64309f6ab
|
@ -67,6 +67,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HADOOP-11357. Print information of the build enviornment in test-patch.sh
|
HADOOP-11357. Print information of the build enviornment in test-patch.sh
|
||||||
(aw)
|
(aw)
|
||||||
|
|
||||||
|
HADOOP-11328. ZKFailoverController does not log Exception when doRun raises
|
||||||
|
errors. (Tianyin Xu via ozawa)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
||||||
|
|
|
@ -180,6 +180,7 @@ public abstract class ZKFailoverController {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (RuntimeException rte) {
|
} catch (RuntimeException rte) {
|
||||||
|
LOG.fatal("The failover controller encounters runtime error: " + rte);
|
||||||
throw (Exception)rte.getCause();
|
throw (Exception)rte.getCause();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue