小编Tim*_*Tim的帖子

启用持久性的 Java 堆内存已满

启用持久性后broker.xml,当-Xms&-Xmx设置为 4GB 并global-max-size设置为默认 200Mb(大部分设置只是由 Artemiscreate命令创建的)时,我会在一天或三天内根据处理的数据速率收到以下异常。配置类似于这个帖子

2020-08-03 02:25:58,969 WARN  [org.apache.activemq.artemis.core.server] AMQ222033: Page file 000000005.page had incomplete records at position 9,259,622 at record number 4,224
2020-08-03 02:31:19,390 WARN  [org.apache.activemq.artemis.core.server] AMQ222288: Page 5, message 4,224 could not be found on offset 9,259,622, with starting message 4,224. This represents a logic error or inconsistency on the data, and the system will try once again from the beggining of the page file.
2020-08-03 …
Run Code Online (Sandbox Code Playgroud)

java activemq-artemis

6
推荐指数
1
解决办法
947
查看次数

kubernetes redinessProbe httpGet on tomcat image 报告连接被拒绝

我正在使用 initContainer 挂载 index.html 并将其挂载在 tomcat 9 服务器中。的readinessProbe,类型:httpGet与initalDelaySeconds:60。

没有readinessProbe,应用程序启动,我可以访问Url 并查看内容。

kubectl describe pod/<pod--> 提供以下消息

 Normal   Created    104s               kubelet, worker1.com  Created container tomcat-container
 Normal   Started    104s               kubelet, worker1.com  Started container tomcat-container
 Warning  Unhealthy  10s (x4 over 40s)  kubelet, worker1.com  Readiness probe failed: Get http://localhost:8080/temp/index.html: dial tcp [::1]:8080: connect: connection refused
Run Code Online (Sandbox Code Playgroud)

当我执行到容器并执行 curl 命令时,如果没有准备探针,我会看到响应。

 Normal   Created    104s               kubelet, worker1.com  Created container tomcat-container
 Normal   Started    104s               kubelet, worker1.com  Started container tomcat-container
 Warning  Unhealthy  10s (x4 over 40s)  kubelet, worker1.com …
Run Code Online (Sandbox Code Playgroud)

tomcat kubernetes

2
推荐指数
1
解决办法
309
查看次数

Windows 上 git bash 中的 databricks cli 返回错误消息无效参数

我正在为 Azure Databricks 构建 CI/CD,我必须构建一个 python 库并能够创建 ADO 管道的工件部分。

第一阶段有以下插件

  1. Using python version 3.x
    • 使用默认选择
  2. Bash #
    • 选择内联选项并设置以下命令
python -m pip install --upgrade pip setuptools wheel databricks-cli
Run Code Online (Sandbox Code Playgroud)
  1. Configure Databricks

参考了这个文档

  • 配置工作区 URL 和 Databrick 令牌
  1. Bash #使用以下命令
# few other commands 
....
databricks workspace rm -r /MYPROJECT --profile AZDO
....
databricks workspace import_dir nb/artifact / --profile AZDO
Run Code Online (Sandbox Code Playgroud)

注意:Databricks 插件默认配置与配置文件 AZDO 的连接。

上面显示了以下错误,因为我将 AgentPool 与 Windows VM 一起使用,所以 ADO 版本正在使用 git bash。

{ 'error_code': 'INVALID_PARAMETER_VALUE',
2022-03-22T15:14:49.7904034Z   'message': "Path (C:/Program …
Run Code Online (Sandbox Code Playgroud)

azure-devops databricks azure-databricks

2
推荐指数
1
解决办法
1219
查看次数