Open Zerpet opened 8 years ago
Greenplum 6.X includes the very old python 2.7:
[gpadmin@localhost ~]$ which python
/usr/local/greenplum-db-6.16.3/ext/python/bin/python
[gpadmin@localhost ~]$ python --version
Python 2.7.12
Can likely leverage the Signal python library to do this. https://docs.python.org/2.7/library/signal.html
This issue tracks the development of signal handlers for
gpcheckintegrity
. The program should handle signals gracefully. At the moment, it prints the stack trace and exits, which is not very user friendly.The main handlers should be: