我刚刚将k8s迁移到1.22,使用这个版本的spark操作符:1.2.3没有工作。我在互联网上跟踪了这些信息,升级到1.3.3,但是我所有的星火应用程序都失败了,同样的错误是:Caused by: java.io.FileNotFoundException: /etc/metrics/conf/prometheus.yaml (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInpu
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
我需要将"jmx_prometheus_javaagent“jar添加到JIB构建中,但是在部署应用程序时会出现以下错误:
Error opening zip file or JAR manifest missing : /srv/jmx_prometheus_javaagent-0.16.1.jar
Error occurred during initialization of VM
agent library failed to init: instrument
我在所需目录中添加了jar和一个配置文件,这是我在build.gradle.kts中所做的相关更改。
val jibEx
我有一个springboot引导应用程序,我想通过JMX向Prometheus公开kafka.consumer指标。我可以看到度量标准,但我不知道在哪里设置这些mBeans(即kafka.customer:type= see mBeans,client-id=(-.\w+))。我了解到,只需要通过这个设置来激活JMX,但我不知道通过JMX向Prometheus公开这些指标需要做些什么。
我用码头运行了阿帕奇卡夫卡和普罗米修斯。我会附上对接组成和其他配置在这篇文章的底部!
导言:,首先,我应该解释一下,卡夫卡的每一种度量都能很好地应用于普罗米修斯。因此,在图像的实现和运行中没有问题。
问题:唯一的问题是,在教程之后,我要在哪里测试流(生产者、代理和消费者)。但是每当我执行在站点上找到的命令时,我就会面对command not found error,因为我不知道文件到底在哪里!例如,每当我执行bin/zookeeper-server-start.sh config/zookeeper.properties命令时,都会遇到以下错误:
没有这样的文件或目录:bin/server-