HDFS-4396. Add START_MSG/SHUTDOWN_MSG for ZKFC. Contributed by Liang Xie.

(cherry picked from commit ae3e8c61ff)
This commit is contained in:
Harsh J 2015-03-30 15:21:18 +05:30
parent 9f49b3e93d
commit c58357939f
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,9 @@ Release 2.8.0 - UNRELEASED
IMPROVEMENTS IMPROVEMENTS
HDFS-4396. Add START_MSG/SHUTDOWN_MSG for ZKFC
(Liang Xie via harsh)
HDFS-7875. Improve log message when wrong value configured for HDFS-7875. Improve log message when wrong value configured for
dfs.datanode.failed.volumes.tolerated. dfs.datanode.failed.volumes.tolerated.
(nijel via harsh) (nijel via harsh)

View File

@ -167,6 +167,8 @@ public class DFSZKFailoverController extends ZKFailoverController {
public static void main(String args[]) public static void main(String args[])
throws Exception { throws Exception {
StringUtils.startupShutdownMessage(DFSZKFailoverController.class,
args, LOG);
if (DFSUtil.parseHelpArgument(args, if (DFSUtil.parseHelpArgument(args,
ZKFailoverController.USAGE, System.out, true)) { ZKFailoverController.USAGE, System.out, true)) {
System.exit(0); System.exit(0);