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

This commit is contained in:
Harsh J 2015-03-30 15:21:18 +05:30
parent 1ed9fb7664
commit ae3e8c61ff
2 changed files with 5 additions and 0 deletions

View File

@ -323,6 +323,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);