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

Brandon Williams commented on CASSANDRA-16565:
----------------------------------------------

bq. 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.

You can do OS detection in shell and vary behavior based on that.

bq. Is java management API an option

This looks promising! It's worth an investigation imo.

bq.  without implementing warnIfRunningInDegradedMode?

All of that should be doable without Sigar.

bq. Also is this library an option

The license is compatible so yes, it's viable. If we can do this without 
another dependency though, that would be preferred.

> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to