Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 2.12.0, Impala 3.1.0
-
None
-
ghx-label-8
Description
Introduce a Python GDB module, and a couple of commands that helps to find queries and fragment instances that are executing in an impalad at the time the daemon crashes.
One hopes that folks will keep enhancing the module by adding new and useful GDB commands to aid debugging impalad core dumps.
The initial patch has these:
(gdb) source impala-gdb.py (gdb) find-query-ids f74c863dff66a34d:1d983cc300000000 364525e12495932b:73f5dd0200000000 bc4a3eec25481981:edda04b800000000 (gdb) find-fragment-instances Fragment Instance Id Thread IDs 364525e12495932b:73f5dd02000000a2 [69] 364525e12495932b:73f5dd0200000171 [196, 136] bc4a3eec25481981:edda04b8000001a8 [252, 237, 206] f74c863dff66a34d:1d983cc30000009b [200, 14, 13, 12, 6, 5, 3, 2] f74c863dff66a34d:1d983cc30000013a [4]