错误一:
Caused by: org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Cannot determine write shards for [Dood/info]; likely its format is incorrect (maybe it contains illegal characters?)
解决:
elasticsearch 创建 index 时不能出现大写字母,全部为小写
错误二:
Could not write all entries for bulk operation
原因:某一列中的数据不一致,导致es在对数据入库的时候,不能识别两种format
例如:{"name":"张三","sex":"男","time":"2018-08-17"}
{"name":"李四","sex":"男","time":"2018-08-18"}
{"name":"王五","sex":"男","time":"五小时前"}
es在对json中的time进行格式定义时不能统一format