impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Volker (Code Review)" <>
Subject [Impala-CR](cdh5-trunk) PREVIEW IMPALA-2686: Add breakpad crash handler to all daemons
Date Thu, 14 Apr 2016 10:42:20 GMT
Lars Volker has posted comments on this change.

Change subject: PREVIEW IMPALA-2686: Add breakpad crash handler to all daemons

Patch Set 5:


Thanks for the review. Please see PS6.
File be/src/common/

Line 70: DEFINE_string(minidump_path, "/tmp/minidumps", "Directory to write minidump files
to. "
> Maybe add something about "impala" to the path.
File be/src/common/

Line 17: #include <boost/filesystem.hpp>
> Remove? I don't see where this is used.
Done. Was some leftover from a previous iteration, which I forgot to clean up. :(

Line 52: using namespace boost::filesystem;
> Same here, not needed?

Line 144:     impala::CheckAndRemoveMinidumps(FLAGS_max_minidumps);
> Maybe move this to a startup task instead of recurring? After the first cal
Very good point, done.
File be/src/util/

Line 67:     "??????\?\?-??\?\?-??\?\?-??????\?\?-????????.dmp";
> Can you give an example of what this matches?

Line 72:     if (bf::is_regular_file(minidump_path)) {
> This looks like an exception throwing signature. Looks like there are a cou

Line 75:       time_t last_written = bf::last_write_time(minidump_path);
> Same with this signature. Maybe always use the error code verison? Otherwis

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I7a37a38488716ffe34296f3490ae291bbb7228d6
Gerrit-PatchSet: 5
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Lars Volker <>
Gerrit-Reviewer: Casey Ching <>
Gerrit-Reviewer: Lars Volker <>
Gerrit-Reviewer: Marcel Kornacker <>
Gerrit-Reviewer: Silvius Rus <>
Gerrit-HasComments: Yes

View raw message