You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Infinispan 14.0.1 Final版本cli.sh批处理模式失效求助

Infinispan 14.0.1 Final CLI批处理模式异常问题

我在测试Infinispan 14.0.1 Final版本时发现cli.sh的批处理模式无法正常工作。执行以下批处理命令时返回退出码1:

echo describe | ${INFINISPAN_HOME}/bin/cli.sh -c http://****:*****@localhost:11222 -f - | grep RUNNING
command terminated with exit code 1

但非批处理模式可正常运行:

${INFINISPAN_HOME}/bin/cli.sh -c http://****:*****@localhost:11222
[f314abe638e2-57726@cluster//containers/default]> describe
{
  "version" : "14.0.1.Final",
  "name" : "default",
  "coordinator" : true,
  "cache_configuration_names" : [ "org.infinispan.REPL_ASYNC","___protobuf_metadata","org.infinispan.DIST_SYNC","org.infinispan.LOCAL","org.infinispan.INVALIDATION_SYNC","respCache","org.infinispan.REPL_SYNC","example.PROTOBUF_DIST","org.infinispan.SCATTERED_SYNC","org.infinispan.INVALIDATION_ASYNC","___script_cache","org.infinispan.DIST_ASYNC" ],
  "cluster_name" : "cluster",
  "physical_addresses" : "[10.88.0.35:7800]",
  "coordinator_address" : "f314abe638e2-57726",
  "cache_manager_status" : "RUNNING",
  "created_cache_count" : 1,
  "running_cache_count" : 1,
  "node_address" : "f314abe638e2-57726",
  "cluster_members" : [ "f314abe638e2-57726" ],
  "cluster_members_physical_addresses" : [ "10.88.0.35:7800" ],
  "cluster_size" : 1,
  "defined_caches" : [ {
    "name" : "___script_cache",
    "started" : true
  },{
    "name" : "___protobuf_metadata",
    "started" : true
  },{
    "name" : "respCache",
    "started" : true
  } ],
  "local_site" : null,
  "relay_node" : false,
  "relay_nodes_address" : [  ],
  "sites_view" : [  ],
  "rebalancing_enabled" : true
}

而在13.0.12版本中批处理模式仍可正常运行:

echo describe | ${INFINISPAN_HOME}/bin/cli.sh -c http://****:*****@localhost:11222 -f - | grep RUNNING
"cache_manager_status" : "RUNNING",

bash-4.4$ echo describe | ${INFINISPAN_HOME}/bin/cli.sh -c http://cliuser:changeit@localhost:11222 -f -
{
  "version" : "13.0.12.Final",
  "name" : "default",
  "coordinator" : true,
  "cache_configuration_names" : [ "org.infinispan.REPL_ASYNC","___protobuf_metadata","org.infinispan.DIST_SYNC","org.infinispan.LOCAL","org.infinispan.INVALIDATION_SYNC","org.infinispan.REPL_SYNC","example.PROTOBUF_DIST","org.infinispan.SCATTERED_SYNC","org.infinispan.INVALIDATION_ASYNC","___script_cache","org.infinispan.DIST_ASYNC" ],
  "cluster_name" : "cluster",
  "physical_addresses" : "[10.88.0.36:7800]",
  "coordinator_address" : "437060144b6b-64461",
  "cache_manager_status" : "RUNNING",
  "created_cache_count" : 0,
  "running_cache_count" : 0,
  "node_address" : "437060144b6b-64461",
  "cluster_members" : [ "437060144b6b-64461" ],
  "cluster_members_physical_addresses" : [ "10.88.0.36:7800" ],
  "cluster_size" : 1,
  "defined_caches" : [ {
    "name" : "___protobuf_metadata",
    "started" : true
  },{
    "name" : "___script_cache",
    "started" : true
  } ],
  "local_site" : null,
  "relay_node" : false,
  "relay_nodes_address" : [  ],
  "sites_view" : [  ],
  "rebalancing_enabled" : true
}

请问是否有人可以复现该问题?


内容的提问来源于stack exchange,提问作者reimgun

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.15 04:30:58