美文网首页
datax从hive往es中导数报错:One or more o

datax从hive往es中导数报错:One or more o

作者: 安申 | 来源:发表于2022-03-07 10:46 被阅读0次

背景:公司数据涉及到从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 o

      本文链接:https://www.haomeiwen.com/subject/dnngrrtx.html