[MCOL-628] getSystemResourceUsage doesnt work on non-root install Created: 2017-03-20 Updated: 2023-10-26 Resolved: 2017-06-08 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | 1.0.8 |
| Fix Version/s: | 1.1.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | David Hill (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
google-cloud debian 8 non-root binary package, 2pm combo setup |
||
| Sprint: | 2017-12 |
| Description |
|
getSystemResourceUsage - returns error mcsadmin> getSystemResourceUsage |
| Comments |
| Comment by David Hill (Inactive) [ 2017-06-05 ] |
|
This was fixed by a change made as part of a fix for |
| Comment by David Hill (Inactive) [ 2017-06-07 ] |
|
Daniel flagged where the disk usage isn't being displayed on non-root installs, which is related to this fix. I reproduced the same issue mcsadmin> getSystemDisk System Disk Usage per Module Module 'pm1' Disk Usage (in 1K blocks) Mount Point Total Blocks Used Blocks Usage % mcsadmin> getSystemResourceUsage System Resource Usage per Module Module 'pm1' Resource Usage CPU: 0% Usage mcsadmin> |
| Comment by David Hill (Inactive) [ 2017-06-07 ] |
|
Issue is a hardcoded path problem pointing to /usr/local/... where on non-root it should be home/.... tested on root install mcsadmin> getSystemDisk System Disk Usage per Module Module 'pm1' Disk Usage (in 1K blocks) Mount Point Total Blocks Used Blocks Usage % mcsadmin> getSystemResourceUsage System Resource Usage per Module Module 'pm1' Resource Usage CPU: 0% Usage test non-root install - guest user mcsadmin> getSystemDisk System Disk Usage per Module Module 'pm1' Disk Usage (in 1K blocks) Mount Point Total Blocks Used Blocks Usage % mcsadmin> getSystemResourceUsage System Resource Usage per Module Module 'pm1' Resource Usage CPU: 0% Usage mcsadmin> exit |
| Comment by Daniel Lee (Inactive) [ 2017-06-08 ] |
|
Build verified: Github source 1.1.0 [root@localhost mariadb-columnstore-server]# git show [root@localhost mariadb-columnstore-engine]# git show |