For completeness, there is this thread (1) where we already decided that sigar 
is OK to be removed completely.

I think that OSHI is way better lib to have, I am +1 on this proposal.

Currently the deal seems to be that this will go just to trunk.

(1) https://lists.apache.org/thread/6gzyh1zhxnkz50lld7hlgq172xc0pg3t

________________________________________
From: Claude Warren, Jr via dev <dev@cassandra.apache.org>
Sent: Thursday, December 14, 2023 0:17
To: dev
Cc: Claude Warren, Jr
Subject: [DISCUSS] Replace Sigar with OSHI (CASSANDRA-16565)

EXTERNAL EMAIL - USE CAUTION when clicking links or attachments



Greetings,

I have submitted a pull request[1] that replaces the unsupported Sigar library 
with the maintained OSHI library.

OSHI is an MIT licensed library that provides information about the underlying 
OS much like Sigar did.

The change adds a dependency on oshi-core at the following coordinates:

<groupId>com.github.oshi</groupId>
 <artifactId>oshi-core</artifactId>
 <version>6.4.6</version>

In addition to switching to a supported library, this change will reduce the 
size of the package as the native Sigar libraries are removed.

Are there objections to making this switch and adding a new dependency?

[1] 
https://github.com/apache/cassandra/pull/2842/files<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fcassandra%2Fpull%2F2842%2Ffiles&data=05%7C02%7CStefan.Miklosovic%40netapp.com%7C7cf67013020144aa5d5f08dbfc7d3c85%7C4b0911a0929b4715944bc03745165b3a%7C0%7C0%7C638381387039739682%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=eYAXnGWTOwa7dLOELCrzlZOubTR5cozATfISGeRuUl8%3D&reserved=0>
[2] 
https://issues.apache.org/jira/browse/CASSANDRA-16565<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FCASSANDRA-16565&data=05%7C02%7CStefan.Miklosovic%40netapp.com%7C7cf67013020144aa5d5f08dbfc7d3c85%7C4b0911a0929b4715944bc03745165b3a%7C0%7C0%7C638381387039739682%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fAAMIkv02MQINsoXIsiDWi3TEo0VZ4OvlHtBVDBgMcE%3D&reserved=0>

Reply via email to