[
https://issues.apache.org/jira/browse/HAWQ-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15236703#comment-15236703
]
ASF GitHub Bot commented on HAWQ-307:
-------------------------------------
Github user cbaenziger commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/250#discussion_r59328386
--- Diff: tools/bin/gppylib/commands/unix.py ---
@@ -925,7 +925,7 @@ def getDescendentProcesses(pid):
children = list()
grandchildren = list()
- for p in psi.process.ProcessTable().values():
+ for p in psutil.process.ProcessTable().values():
--- End diff --
Just to close the loop on this. The psi module does not ship for Ubuntu any
more (at least out of the box with `pip` or via standard apt repos) from what I
can tell with Ubuntu 14.04; it has not been touched since 2010 either. The
psutil module is largely API compatible and maintained: shipping for both
CentOS and Ubuntu via pip or packages.
For reference, it looks like GPDB has decided to do the same for these now
too: https://github.com/greenplum-db/gpdb/pull/486
Further, I did not find a test suite, so I tried to migrate this as much as
possible; looking at the changes the Greenplum community did, clearly I missed
a lot of necessary changes here.
> Ubuntu Support
> --------------
>
> Key: HAWQ-307
> URL: https://issues.apache.org/jira/browse/HAWQ-307
> Project: Apache HAWQ
> Issue Type: New Feature
> Components: Build
> Reporter: Lei Chang
> Assignee: Clay B.
> Fix For: 2.0.0
>
>
> To support HAWQ running on Ubuntu OS 14.04.3
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)