datax从hive往es中导数报错:One or more of the items in the Bulk request failed, check BulkResult.getItems...

背景:公司数据涉及到从hive往es中导数,使用datax来进行抽取

  1. 报错:One or more of the items in the Bulk request failed, check BulkResult.getItems() for more information
  2. 推测:
  • 报错的数据,该字段内容都很长
  • es中该字段使用的是keyword类型,推测可能是超过keyword类型范围
  • 使用 text 进行存储
  1. 使用 text 存储,导数成功

你可能感兴趣的:(datax从hive往es中导数报错:One or more of the items in the Bulk request failed, check BulkResult.getItems...)