You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Kanthi Subramanian (Jira)" <ji...@apache.org> on 2021/11/27 12:55:00 UTC

[jira] [Comment Edited] (CASSANDRA-16565) Remove dependency on sigar

    [ https://issues.apache.org/jira/browse/CASSANDRA-16565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17449719#comment-17449719 ] 

Kanthi Subramanian edited comment on CASSANDRA-16565 at 11/27/21, 12:54 PM:
----------------------------------------------------------------------------

[~brandon.williams] , would shell script cover all operating systems, I just checked functionality for swap space, it looks like it might be a different logic for mac Os and for linux.

Is java management API an option - [https://stackoverflow.com/questions/47177/how-do-i-monitor-the-computers-cpu-memory-and-disk-usage-in-java]

Also is the plan to just remove Sigar without implementing 

warnIfRunningInDegradedMode?

Also is this library an option - [https://github.com/oshi/oshi]

 


was (Author: subkanthi):
[~brandon.williams] , would shell script cover all operating systems, I just checked functionality for swap space, it looks like it might be a different logic for mac Os and for linux.

Is java management API an option - [https://stackoverflow.com/questions/47177/how-do-i-monitor-the-computers-cpu-memory-and-disk-usage-in-java]

Also is the plan to just remove Sigar without implementing 

warnIfRunningInDegradedMode?

> Remove dependency on sigar
> --------------------------
>
>                 Key: CASSANDRA-16565
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16565
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Build
>            Reporter: David Capwell
>            Assignee: Kanthi Subramanian
>            Priority: Normal
>
> sigar is used to check if the environment has good settings for running C*, but requires we bundle a lot of native libraries to perform this check (which can also be done elsewhere).  This project also appears to be dead as the last commit was around 6 years ago.
> With the move to resolve artifacts rather than commit them, removing this dependency would remove majority of the artifacts fetched from GitHub.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org