IMPALA-4736: Add SIGUSR1 behavior to help string for 'minidump_path' flag Change-Id: I8f4da8ff12c10e4a84a339ddb4036d1682b3a2a0 Reviewed-on: http://gerrit.cloudera.org:8080/8164 Reviewed-by: Dan Hecht <[email protected]> Tested-by: Impala Public Jenkins
Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/ef990cf9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/ef990cf9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/ef990cf9 Branch: refs/heads/master Commit: ef990cf9b579e26982d4b8074350415666bfb8ec Parents: eb11b46 Author: Csaba Ringhofer <[email protected]> Authored: Thu Sep 28 19:15:20 2017 +0200 Committer: Impala Public Jenkins <[email protected]> Committed: Tue Oct 3 01:33:34 2017 +0000 ---------------------------------------------------------------------- be/src/common/global-flags.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/ef990cf9/be/src/common/global-flags.cc ---------------------------------------------------------------------- diff --git a/be/src/common/global-flags.cc b/be/src/common/global-flags.cc index e5420a2..e0a3384 100644 --- a/be/src/common/global-flags.cc +++ b/be/src/common/global-flags.cc @@ -100,9 +100,10 @@ DEFINE_string(minidump_path, "minidumps", "Directory to write minidump files to. "can be either an absolute path or a path relative to log_dir. Each daemon will " "create an additional sub-directory to prevent naming conflicts and to make it " "easier to identify a crashing daemon. Minidump files contain crash-related " - "information in a compressed format and will only be written when a daemon exits " - "unexpectedly, for example on an unhandled exception or signal. Set to empty to " - "disable writing minidump files."); + "information in a compressed format and will be written when a daemon exits " + "unexpectedly, for example on an unhandled exception or signal. It is also possible " + "to create minidumps on demand without exiting the process by sending SIGUSR1. " + "Set to empty to disable writing minidump files."); DEFINE_int32(max_minidumps, 9, "Maximum number of minidump files to keep per daemon. " "Older files are removed first. Set to 0 to keep all minidump files.");
