Displaying #cassandra-dev/2016-10-18.log:

Tue Oct 18 00:15:15 2016  kohlisankalp:Joined the channel
Tue Oct 18 00:53:41 2016  yasuharu:Joined the channel
Tue Oct 18 01:00:02 2016  mkjellman:Joined the channel
Tue Oct 18 01:35:26 2016  mstepura:Joined the channel
Tue Oct 18 01:35:33 2016  clohfink:Joined the channel
Tue Oct 18 01:42:10 2016  rsmags_:Joined the channel
Tue Oct 18 01:43:57 2016  garren:Joined the channel
Tue Oct 18 01:48:03 2016  kishkaru_:Joined the channel
Tue Oct 18 01:49:12 2016  joseph_arnstein_:Joined the channel
Tue Oct 18 01:54:27 2016  yasuharu:Joined the channel
Tue Oct 18 01:54:40 2016  mstepura:Joined the channel
Tue Oct 18 02:00:45 2016  minimarcel:Joined the channel
Tue Oct 18 02:12:24 2016  mstepura:Joined the channel
Tue Oct 18 02:43:59 2016  ptnapoleon:Joined the channel
Tue Oct 18 03:06:32 2016  mstepura:Joined the channel
Tue Oct 18 03:34:05 2016  maedhroz:Joined the channel
Tue Oct 18 03:38:16 2016  mstepura:Joined the channel
Tue Oct 18 03:42:35 2016  yasuharu:Joined the channel
Tue Oct 18 04:06:50 2016  mstepura:Joined the channel
Tue Oct 18 04:18:06 2016  clohfink:Joined the channel
Tue Oct 18 04:22:48 2016  JayZhuang:Joined the channel
Tue Oct 18 04:25:01 2016  mstepura:Joined the channel
Tue Oct 18 04:33:47 2016  kohlisankalp:Joined the channel
Tue Oct 18 05:02:31 2016  mstepura:Joined the channel
Tue Oct 18 05:10:42 2016  mstepura:Joined the channel
Tue Oct 18 05:11:29 2016  mstepura:Joined the channel
Tue Oct 18 05:12:20 2016  mstepura:Joined the channel
Tue Oct 18 05:30:44 2016  yasuharu:Joined the channel
Tue Oct 18 05:36:39 2016  cosql:Joined the channel
Tue Oct 18 05:40:04 2016  mstepura:Joined the channel
Tue Oct 18 05:45:13 2016  mstepura:Joined the channel
Tue Oct 18 05:45:58 2016  mstepura:Joined the channel
Tue Oct 18 05:46:49 2016  mstepura:Joined the channel
Tue Oct 18 05:47:39 2016  mstepura:Joined the channel
Tue Oct 18 05:48:28 2016  mstepura:Joined the channel
Tue Oct 18 05:49:13 2016  mstepura:Joined the channel
Tue Oct 18 05:50:03 2016  mstepura:Joined the channel
Tue Oct 18 05:50:53 2016  mstepura:Joined the channel
Tue Oct 18 05:51:38 2016  mstepura:Joined the channel
Tue Oct 18 07:17:13 2016  gila:Joined the channel
Tue Oct 18 07:18:51 2016  yasuharu:Joined the channel
Tue Oct 18 07:54:37 2016  clohfink:Joined the channel
Tue Oct 18 08:10:13 2016  spodkowinski:Joined the channel
Tue Oct 18 08:28:39 2016  minimarcel:Joined the channel
Tue Oct 18 08:36:00 2016  cosql:Joined the channel
Tue Oct 18 08:37:14 2016  cosql:Joined the channel
Tue Oct 18 08:39:30 2016  nickmbailey:Joined the channel
Tue Oct 18 09:06:58 2016  yasuharu:Joined the channel
Tue Oct 18 09:40:14 2016  nickmbailey:Joined the channel
Tue Oct 18 10:28:13 2016  kishkaru_:Joined the channel
Tue Oct 18 10:28:23 2016  aweisberg:Joined the channel
Tue Oct 18 10:42:50 2016  nickmbailey:Joined the channel
Tue Oct 18 10:55:06 2016  yasuharu:Joined the channel
Tue Oct 18 11:30:53 2016  clohfink:Joined the channel
Tue Oct 18 11:44:53 2016  nickmbailey:Joined the channel
Tue Oct 18 11:46:51 2016  adamholmberg:Joined the channel
Tue Oct 18 12:24:51 2016  aboudreault_:Joined the channel
Tue Oct 18 12:43:14 2016  yasuharu:Joined the channel
Tue Oct 18 12:45:40 2016  nickmbailey:Joined the channel
Tue Oct 18 13:08:47 2016  adamholmberg:Joined the channel
Tue Oct 18 13:14:59 2016  yasuharu:Joined the channel
Tue Oct 18 13:31:09 2016  clohfink:Joined the channel
Tue Oct 18 13:46:24 2016  nickmbailey:Joined the channel
Tue Oct 18 14:22:08 2016  nickmbailey:Joined the channel
Tue Oct 18 14:54:15 2016  jmckenzie:Joined the channel
Tue Oct 18 14:55:17 2016  minimarcel___:Joined the channel
Tue Oct 18 14:56:27 2016  minimarcel____:Joined the channel
Tue Oct 18 15:03:55 2016  felowe:Joined the channel
Tue Oct 18 15:05:00 2016  jeromatron:Joined the channel
Tue Oct 18 15:05:01 2016  eribeiro:Joined the channel
Tue Oct 18 15:09:17 2016  chbatey:Joined the channel
Tue Oct 18 15:12:01 2016  minimarcel____:Joined the channel
Tue Oct 18 15:16:45 2016  eribeiro:Joined the channel
Tue Oct 18 15:35:15 2016  jmckenzie_:Joined the channel
Tue Oct 18 15:46:10 2016  nickmbailey:Joined the channel
Tue Oct 18 15:57:35 2016  thobbs:Joined the channel
Tue Oct 18 15:57:45 2016  maedhroz:Joined the channel
Tue Oct 18 16:00:36 2016  nickmbailey:Joined the channel
Tue Oct 18 16:10:03 2016  mstepura:Joined the channel
Tue Oct 18 16:10:19 2016  thobbs:Joined the channel
Tue Oct 18 16:11:31 2016  yasuharu:Joined the channel
Tue Oct 18 16:22:46 2016  kvaster_:Joined the channel
Tue Oct 18 16:38:37 2016  cosql:Joined the channel
Tue Oct 18 16:54:41 2016  kohlisankalp:Joined the channel
Tue Oct 18 17:13:21 2016  adamholmberg:Joined the channel
Tue Oct 18 17:33:28 2016  mikewall-:Joined the channel
Tue Oct 18 17:33:36 2016  EnigmaCurry:Joined the channel
Tue Oct 18 17:33:37 2016  adamcm:Joined the channel
Tue Oct 18 17:33:43 2016  mebigfatguy:Joined the channel
Tue Oct 18 17:33:46 2016  beobal_:Joined the channel
Tue Oct 18 17:33:53 2016  iamaleksey:Joined the channel
Tue Oct 18 17:34:06 2016  mal``:Joined the channel
Tue Oct 18 17:38:27 2016  gdusbabek_:Joined the channel
Tue Oct 18 17:38:59 2016  stef1927:Joined the channel
Tue Oct 18 17:39:43 2016  jbellis_:Joined the channel
Tue Oct 18 17:39:46 2016  bdeggleston:Joined the channel
Tue Oct 18 17:41:16 2016  jkni:Joined the channel
Tue Oct 18 17:43:52 2016  miketra:Joined the channel
Tue Oct 18 17:44:20 2016  techntoke__:Joined the channel
Tue Oct 18 17:45:06 2016  blambov:Joined the channel
Tue Oct 18 17:45:25 2016  wei:Joined the channel
Tue Oct 18 17:45:55 2016  ifesdjeen:Joined the channel
Tue Oct 18 17:47:00 2016  jasobrown:Joined the channel
Tue Oct 18 17:47:04 2016  blerer:Joined the channel
Tue Oct 18 17:51:11 2016  mkjellman:Joined the channel
Tue Oct 18 17:51:21 2016  brunocrt:Joined the channel
Tue Oct 18 17:58:08 2016  adamholmberg:Joined the channel
Tue Oct 18 17:59:58 2016  yasuharu:Joined the channel
Tue Oct 18 18:04:15 2016  adamholmberg:Joined the channel
Tue Oct 18 18:21:17 2016  mkjellman:INFO [main] 2016-10-18T11:20:10,330 SigarLibrary.java:44 - Initializing SIGAR library
Tue Oct 18 18:21:17 2016  mkjellman:DEBUG [main] 2016-10-18T11:20:10,342 SigarLog.java:60 - no libsigar-universal64-macosx.dylib in java.library.path
Tue Oct 18 18:21:18 2016  mkjellman:org.hyperic.sigar.SigarException: no libsigar-universal64-macosx.dylib in java.library.path
Tue Oct 18 18:21:19 2016  mkjellman: at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:172) ~[sigar-1.6.4.jar:?]
Tue Oct 18 18:21:20 2016  mkjellman: at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:100) [sigar-1.6.4.jar:?]
Tue Oct 18 18:21:21 2016  mkjellman: at org.apache.cassandra.utils.SigarLibrary.<init>(SigarLibrary.java:47) [main/:?]
Tue Oct 18 18:21:22 2016  mkjellman: at org.apache.cassandra.utils.SigarLibrary.<clinit>(SigarLibrary.java:28) [main/:?]
Tue Oct 18 18:21:22 2016  mkjellman: at org.apache.cassandra.utils.UUIDGen.hash(UUIDGen.java:363) [main/:?]
Tue Oct 18 18:21:28 2016  mkjellman:what's libsigar
Tue Oct 18 18:26:26 2016  jkni:It provides an easy way to get system metrics/information
Tue Oct 18 18:26:57 2016  driftx:yeah, OS stuff
Tue Oct 18 18:26:58 2016  jkni:I think we only used to it to warn around settings like number of files/number of processes
Tue Oct 18 18:27:06 2016  jkni:Introduced in #7838
Tue Oct 18 18:27:07 2016  CassBotJr:https://issues.apache.org/jira/browse/CASSANDRA-7838 (Resolved; Fixed; 2.2.0 beta 1): "Warn user when OS settings are poor / integrate sigar"
Tue Oct 18 18:27:35 2016  jkni:That should be "use", not "used". It is still there
Tue Oct 18 18:33:17 2016  mkjellman:okay, got it. if the library doesn't support mac we might want to just System.whatOSAmIRunningOn if check vs throwing an exception and cluttering the logs
Tue Oct 18 18:33:44 2016  mkjellman:Having snappy compressor flashbacks :)
Tue Oct 18 18:34:00 2016  driftx:nobody actually runs on mac :)
Tue Oct 18 18:34:48 2016  mkjellman:plenty of us do develop on it though :)
Tue Oct 18 18:36:04 2016  jkni:Yeah, unfortunately I think the Sigar folks let the OSX support atrophy around 10.6
Tue Oct 18 18:36:11 2016  mkjellman:/ Identify the process on the load: we use both the PID and class loader hash.
Tue Oct 18 18:36:11 2016  mkjellman: long pid = SigarLibrary.instance.getPid();
Tue Oct 18 18:36:12 2016  mkjellman: if (pid < 0)
Tue Oct 18 18:36:12 2016  mkjellman: pid = new Random(System.currentTimeMillis()).nextLong();
Tue Oct 18 18:36:14 2016  mkjellman: FBUtilities.updateWithLong(messageDigest, pid);
Tue Oct 18 18:36:28 2016  mkjellman:UUIDGen looks to be using it for way more than just a nice to have system defaults check though
Tue Oct 18 18:38:24 2016  mkjellman:https://issues.apache.org/jira/browse/CASSANDRA-7925
Tue Oct 18 18:38:27 2016  jkni:Good point
Tue Oct 18 18:40:27 2016  mkjellman:/ Once Java 9 is ready the process API should provide a better way to get the process ID.
Tue Oct 18 18:40:27 2016  mkjellman:long pid = SigarLibrary.instance.getPid();
Tue Oct 18 18:40:43 2016  mkjellman:so Sigar was really used as a workaround for apis missing in jdk8?
Tue Oct 18 18:42:51 2016  mkjellman:is there a reason we can't just use JNA? we've already got all the plumbing in CLibrary
Tue Oct 18 18:52:57 2016  cosql:Joined the channel
Tue Oct 18 19:09:10 2016  kohlisankalp:Joined the channel
Tue Oct 18 19:10:51 2016  kohlisankalp:Joined the channel
Tue Oct 18 19:11:05 2016  mstepura:Joined the channel
Tue Oct 18 19:22:49 2016  kohlisankalp:Joined the channel
Tue Oct 18 19:35:04 2016  kohlisankalp:Joined the channel
Tue Oct 18 19:48:18 2016  yasuharu:Joined the channel
Tue Oct 18 19:57:29 2016  felowe:Joined the channel
Tue Oct 18 20:09:14 2016  jmckenzie:Joined the channel
Tue Oct 18 20:12:46 2016  maedhroz:Joined the channel
Tue Oct 18 21:15:56 2016  Ron__C___:Joined the channel
Tue Oct 18 21:16:04 2016  kishkaru_:Joined the channel
Tue Oct 18 21:25:53 2016  mkjellman:I have a fix to use JNA instead of Sigar (except for Windows where I'm still using Sigar as I'm not sure what works or doesn't work there).. waiting on the required approvals to get it posted out
Tue Oct 18 21:26:37 2016  mkjellman:posix_fadvise breaks CLibrary on Mac too as JNA fails while linking as posix_fadvise isn't available on Mac... this means all the other CLibrary methods that do work on Darwin won't work just because of posix_fadvise
Tue Oct 18 21:26:46 2016  mkjellman:so i took care of that in the patch too
Tue Oct 18 21:28:34 2016  jmckenzie_:Joined the channel
Tue Oct 18 21:36:19 2016  yasuharu:Joined the channel
Tue Oct 18 21:47:19 2016  minimarcel:Joined the channel
Tue Oct 18 21:59:59 2016  nickmbailey:Joined the channel
Tue Oct 18 22:15:48 2016  nickmbailey:Joined the channel
Tue Oct 18 22:55:40 2016  yasuharu:Joined the channel
Tue Oct 18 23:16:51 2016  kohlisankalp:Joined the channel
Tue Oct 18 23:27:51 2016  minimarcel:Joined the channel
Tue Oct 18 23:31:46 2016  minimarcel:Joined the channel
Tue Oct 18 23:33:56 2016  mstepura:Joined the channel
Tue Oct 18 23:42:48 2016  jmckenzie__:Joined the channel

Comments