简体   繁体   English

dsbulk 卸载问题

[英]Issue with dsbulk unload

I am getting the below messages while unloading using dsbulk.我在使用 dsbulk 卸载时收到以下消息。 I am not able to figure out what this means我不明白这是什么意思

[s0|347101951|0] Error sending cancel request. [s0|347101951|0] 发送取消请求时出错。 This is not critical (the request will eventually time out server-side).这并不重要(请求最终会在服务器端超时)。 (HeartbeatException: null) (心跳异常:空)

Not sending heartbeat because a previous one is still in progress.不发送心跳,因为前一个仍在进行中。 Check that advanced.heartbeat.interval is not lower than advanced.heartbeat.timeout.检查 advanced.heartbeat.interval 是否不低于 advanced.heartbeat.timeout。

Thanks谢谢

"Error sending cancel request" is typical of continuous paging queries. “Error sending cancel request”是典型的连续分页查询。 It seems the coordinator is in trouble for some reason, which is why you are also seeing heartbeat failures.似乎协调器由于某种原因遇到了麻烦,这就是为什么您也看到心跳失败的原因。 Dsbulk may be putting too much load on the cluster. Dsbulk 可能给集群带来了过多的负载。

You didn't mention which version of dsbulk exactly, but assuming 1.4+ I would recommend trying the following actions (individually or combined):您没有确切提到哪个版本的 dsbulk,但假设 1.4+ 我会建议尝试以下操作(单独或组合):

  1. Disable continuous paging with dsbulk.executor.continuousPaging.enabled = false (this is likely to slow down dsbulk).使用dsbulk.executor.continuousPaging.enabled = false禁用连续分页(这可能会减慢 dsbulk)。

  2. Use smaller page sizes, eg 1000 rows:使用较小的页面大小,例如 1000 行:

    1. If not using continuous paging: datastax-java-driver.basic.request.page-size = 1000 .如果不使用连续分页: datastax-java-driver.basic.request.page-size = 1000
    2. If using continuous paging: datastax-java-driver.advanced.continuous-paging.page-size = 1000 .如果使用连续分页: datastax-java-driver.advanced.continuous-paging.page-size = 1000
  3. Throttle dsbulk to reduce the load on the cluster节流 dsbulk 以减少集群上的负载

    1. Either "soft" throttle by limiting the number of concurrent requests, eg 128:通过限制并发请求的数量来“软”节流,例如 128:
      1. DSBulk < 1.6: dsbulk.executor.maxInFlight = 128 . DSBulk < 1.6: dsbulk.executor.maxInFlight = 128
      2. DSBulk >= 1.6: dsbulk.engine.maxConcurrentQueries = 128 . DSBulk >= 1.6: dsbulk.engine.maxConcurrentQueries = 128
    2. Or "hard" throttle by limiting the number of requests per second, eg 500: dsbulk.executor.maxPerSecond = 500 .或者通过限制每秒的请求数来“硬”节流,例如 500: dsbulk.executor.maxPerSecond = 500

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM