Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以使用 JDBCHDFC Spring Batch 作业将数据从我的 MS sql 导入 HDFS。但如果容器失败,则作业不会转移到其他容器。我如何继续使作业容错。我正在使用 spring xd 1.0.1 版本
您没有提及您当前使用的是哪个版本的 Spring XD,因此我无法验证确切的行为。但是,在当前版本中运行批处理作业的容器发生故障时,应将作业重新部署到新的合格容器。话虽如此,它不会自动重新启动作业。我们目前正在研究如何允许用户指定是否要重新启动它的选项(存在属于两个阵营的场景,因此我们需要允许用户进行配置)。