Douglas A. Whitfield on nu.federati.net
This remote profile is registered on another site; see musicman's original profile page on nu.federati.net.
-
Douglas A. Whitfield (musicman)'s status on Friday, 15-May-2020 11:55:09 EDT Douglas A. Whitfield
IP works too. The comment in the cassandra-env.sh file says:
# add this if you're having trouble connecting:
#JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=192.168.40.233"
I guess the reverse is also true. -
Douglas A. Whitfield (musicman)'s status on Friday, 15-May-2020 11:54:08 EDT Douglas A. Whitfield
it's working. I think all I did was take out the hostname...well, it's working for localhost, but not even that was working before. -
Douglas A. Whitfield (musicman)'s status on Friday, 15-May-2020 11:51:34 EDT Douglas A. Whitfield
ok, this is weird...
https://pastebin.com/S0ZT0X2u
My guess is the two Cassandras are fighting. Should be easy enough to test... -
Douglas A. Whitfield (musicman)'s status on Friday, 15-May-2020 11:24:10 EDT Douglas A. Whitfield
I had long suspected that this pidfile might be the source of the issue at least regarding not having a jar at the top of the tree and the fact that the non-package version doesn't have it leads me to believe that is the case:
-Dcassandra-pidfile=/var/run/cassandra/cassandra.pid
Now that I have something that works, it should be much easier to figure out what is going on. -
Douglas A. Whitfield (musicman)'s status on Friday, 15-May-2020 10:39:08 EDT Douglas A. Whitfield
one thing I immediately notice looking at the command line of the working and non-working is that they are running as different users. -
Douglas A. Whitfield (musicman)'s status on Friday, 15-May-2020 10:18:00 EDT Douglas A. Whitfield
I can confirm this works on Cassandra 3.11.6: http://status.hackerposse.com/url/21042 so, for now, I can use that and not the packaged CentOS version, though figuring out what the hell is different about the packaged version is probably a good exercise for understand this. Cassandra is one of the things we are week on in the team (though not java, that's a personal weakness). W… -
Douglas A. Whitfield (musicman)'s status on Friday, 15-May-2020 10:15:13 EDT Douglas A. Whitfield
https://pastebin.com/zAdiexNp -
Douglas A. Whitfield (musicman)'s status on Friday, 15-May-2020 10:14:23 EDT Douglas A. Whitfield
Java path is too long to post...I guess there is pastebin -
Douglas A. Whitfield (musicman)'s status on Thursday, 14-May-2020 17:13:39 EDT Douglas A. Whitfield
the main thing I am learning is that I have no idea what I am doing. git cloned the source though as suggested at https://github.com/prometheus/jmx_exporter -
Douglas A. Whitfield (musicman)'s status on Thursday, 14-May-2020 17:06:52 EDT Douglas A. Whitfield
you know, searching the Cassandra source is probably an easier way that unjarring things. I don't understand these premain classes. I was able to build a simple jar. I need to see if the jmx exporter works on it -
Douglas A. Whitfield (musicman)'s status on Thursday, 14-May-2020 16:28:19 EDT Douglas A. Whitfield
I don't see anything in the release notes to suggest it will help, but there is a new version of the jmx_exporter -
Douglas A. Whitfield (musicman)'s status on Thursday, 14-May-2020 15:33:43 EDT Douglas A. Whitfield
so now I have no idea where to go:
[root@localhost META-INF]# cat MANIFEST.MF
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.3
Created-By: 1.8.0_20-b26 (Oracle Corporation)
Agent-Class: org.github.jamm.MemoryMeter
Premain-Class: org.github.jamm.MemoryMeter -
Douglas A. Whitfield (musicman)'s status on Thursday, 14-May-2020 15:26:23 EDT Douglas A. Whitfield
we've never had any mask requirement. -
Douglas A. Whitfield (musicman)'s status on Thursday, 14-May-2020 12:15:42 EDT Douglas A. Whitfield
"hug this hacky workaround, but it is what we have" -
Douglas A. Whitfield (musicman)'s status on Thursday, 14-May-2020 11:25:46 EDT Douglas A. Whitfield
I missed this at the time...or had forgotten: "On 30 November 2018, complying with the Code of Conduct, Jarkko Sakkinen of Intel sent out patches replacing instances of "fuck" appearing in source code comments with suitable versions focused on the word 'hug'." -
Douglas A. Whitfield (musicman)'s status on Thursday, 14-May-2020 11:13:50 EDT Douglas A. Whitfield
Anybody have thoughts on live patching the kernel in #linux kernel 5.6+? -
Douglas A. Whitfield (musicman)'s status on Thursday, 14-May-2020 10:38:23 EDT Douglas A. Whitfield
The Thursday useless meeting.
"Ok, we need to do this"
"ok, I'm mark it as failed"
WTF is even happening. -
Douglas A. Whitfield (musicman)'s status on Wednesday, 13-May-2020 21:41:04 EDT Douglas A. Whitfield
it's the official repo: [root@localhost lib]# yum repolist Last metadata expiration check: 0:00:14 ago on Wed 13 May 2020 08:38:52 PM CDT. repo id repo name status AppStream CentOS-8 - AppStream 5,318 BaseOS CentOS-8 - Base 1,661 cassandra Apache Cassandra 3 *epel Extra Packages for Enterprise Linux 8 - x86_64 5,506 *epel-modular Extra Packages for Enterprise Linux Modular 8 - … -
Douglas A. Whitfield (musicman)'s status on Wednesday, 13-May-2020 17:58:04 EDT Douglas A. Whitfield
I was able to unjar the file and then in the manifest I noticed it pointed to a different file for classpath. same issue with that file though [root@localhost lib]# java -javaagent:./jmx_prometheus_javaagent-0.12.0.jar=8080:jmx-prom.yaml -jar /usr/share/cassandra/apache-cassandra-thrift-3.11.6.jar -Djava.util.logging.config.file=./program.log no main manifest attribute, in /usr… -
Douglas A. Whitfield (musicman)'s status on Wednesday, 13-May-2020 17:21:51 EDT Douglas A. Whitfield
It seems unlikely to me that something like #Cassandra would be missing such a file. Do I need to build Cassie from source to get this or something? I haven't been able to find anything to suggest this is a common issue. Is it lying and the javaagent is actually the issue? #java [root@localhost tmp]# java -javaagent:./jmx_prometheus_javaagent-0.12.0.jar=8080:jmx-prom.yaml -jar …