ERROR: (IllegalArgumentException[failed to parse date field [1574755226.3741724] with format [strict_date_optional_time||epoch_millis]])
During upgrade after I upgraded one node and reenabled shard allocation
PUT _cluster/settings
{
"persistent": {
"cluster.routing.allocation.enable": "all"
}
}
I received unassigned shards (yellow state of cluster)
The log files and GET _cluster/allocation/explain show following error.
{ "node_id" : "l1Hxb5gnRF224OYPNqM3PA", "node_name" : "node03", "transport_address" : "10.10.10.13:9300", "node_attributes" : { "ml.machine_memory" : "67387482112", "ml.max_open_jobs" : "20", "xpack.installed" : "true" }, "node_decision" : "no", "deciders" : [ { "decider" : "max_retry", "decision" : "NO", "explanation" : "shard has exceeded the maximum number of retries [5] on failed allocation attempts - manually call [/_cluster/reroute?retry_failed=true] to retry, [unassigned_info[[reason=ALLOCATION_FAILED], at[2019-11-26T08:03:56.934Z], failed_attempts[5], delayed=false, details[failed shard on node [xIiNk12YR6K8ZMfA_Af7JA]: failed to perform indices:data/write/bulk[s] on replica [index_aggreg_00865][2], node[xIiNk12YR6K8ZMfA_Af7JA], [R], recovery_source[peer recovery], s[INITIALIZING], a[id=pESCi8GATOqZ9ZrsMdWVOQ], unassigned_info[[reason=ALLOCATION_FAILED], at[2019-11-26T08:03:47.268Z], failed_attempts[4], delayed=false, details[failed shard on node [xIiNk12YR6K8ZMfA_Af7JA]: failed to perform indices:data/write/bulk[s] on replica [index_aggreg_00865][2], node[xIiNk12YR6K8ZMfA_Af7JA], [R], recovery_source[peer recovery], s[INITIALIZING], a[id=-FIfJRSCSxCq-uW15YifpQ], unassigned_info[[reason=ALLOCATION_FAILED], at[2019-11-26T08:03:40.984Z], failed_attempts[3], delayed=false, details[failed shard on node [xIiNk12YR6K8ZMfA_Af7JA]: failed to perform indices:data/write/bulk[s] on replica [index_aggreg_00865][2], node[xIiNk12YR6K8ZMfA_Af7JA], [R], recovery_source[peer recovery], s[INITIALIZING], a[id=hV1UZo0FRpSWx6VzfJYbvw], unassigned_info[[reason=ALLOCATION_FAILED], at[2019-11-26T08:03:25.956Z], failed_attempts[2], delayed=false, details[failed shard on node [xIiNk12YR6K8ZMfA_Af7JA]: failed to perform indices:data/write/bulk[s] on replica [index_aggreg_00865][2], node[xIiNk12YR6K8ZMfA_Af7JA], [R], recovery_source[peer recovery], s[INITIALIZING], a[id=CHODudw1T5KCfm0UkDNXDA], unassigned_info[[reason=ALLOCATION_FAILED], at[2019-11-26T08:03:20.546Z], failed_attempts[1], delayed=false, details[failed shard on node [xIiNk12YR6K8ZMfA_Af7JA]: failed to perform indices:data/write/bulk[s] on replica [index_aggreg_00865][2], node[xIiNk12YR6K8ZMfA_Af7JA], [R], recovery_source[peer recovery], s[INITIALIZING], a[id=CXQETlhcQ265Lvpd_LK0mg], unassigned_info[[reason=REPLICA_ADDED], at[2019-11-26T08:03:14.282Z], delayed=false, allocation_status[no_attempt]], failure RemoteTransportException[[tela04-prahkz][10.10.10.14:9300][indices:data/write/bulk[s][r]]]; nested: MapperParsingException[failed to parse field [slice] of type [date] in document with id 'LUy8pm4BW1hCj0_ie8ZG'. Preview of field's value: '1.5747552263741724E9']; nested: IllegalArgumentException[failed to parse date field [1574755226.3741724] with format [strict_date_optional_time||epoch_millis]]; nested: NotSerializableExceptionWrapper[date_time_parse_exception: Failed to parse with all enclosed parsers]; ], allocation_status[no_attempt]], failure RemoteTransportException[[tela04-prahkz][10.10.10.14:9300][indices:data/write/bulk[s][r]]]; nested: MapperParsingException[failed to parse field [slice] of type [date] in document with id 'r0y8pm4BW1hCj0_ikM1s'. Preview of field's value: '1.5747552263741724E9']; nested: IllegalArgumentException[failed to parse date field [1574755226.3741724] with format [strict_date_optional_time||epoch_millis]]; nested: NotSerializableExceptionWrapper[date_time_parse_exception: Failed to parse with all enclosed parsers]; ], allocation_status[no_attempt]], failure RemoteTransportException[[tela04-prahkz][10.10.10.14:9300][indices:data/write/bulk[s][r]]]; nested: MapperParsingException[failed to parse field [slice] of type [date] in document with id 'w0y8pm4BW1hCj0_iy98Y'. Preview of field's value: '1.5747552263741724E9']; nested: IllegalArgumentException[failed to parse date field [1574755226.3741724] with format [strict_date_optional_time||epoch_millis]]; nested: NotSerializableExceptionWrapper[date_time_parse_exception: Failed to parse with all enclosed parsers]; ], allocation_status[no_attempt]], failure RemoteTransportException[[tela04-prahkz][10.10.10.14:9300][indices:data/write/bulk[s][r]]]; nested: MapperParsingException[failed to parse field [slice] of type [date] in document with id 'UR-8pm4Bfu7W77kn468S'. Preview of field's value: '1.5747552263741724E9']; nested: IllegalArgumentException[failed to parse date field [1574755226.3741724] with format [strict_date_optional_time||epoch_millis]]; nested: NotSerializableExceptionWrapper[date_time_parse_exception: Failed to parse with all enclosed parsers]; ], allocation_status[no_attempt]], failure RemoteTransportException[[tela04-prahkz][10.10.10.14:9300][indices:data/write/bulk[s][r]]]; nested: MapperParsingException[failed to parse field [slice] of type [date] in document with id 'Sii9pm4B3G181yzJCV5e'. Preview of field's value: '1.5747552263741724E9']; nested: IllegalArgumentException[failed to parse date field [1574755226.3741724] with format [strict_date_optional_time||epoch_millis]]; nested: NotSerializableExceptionWrapper[date_time_parse_exception: Failed to parse with all enclosed parsers]; ], allocation_status[no_attempt]]]" }, { "decider" : "throttling", "decision" : "THROTTLE", "explanation" : "reached the limit of outgoing shard recoveries [2] on the node [g2bPDi1XRcSuxYY5XAQwDQ] which holds the primary, cluster setting [cluster.routing.allocation.node_concurrent_outgoing_recoveries=2] (can also be set via [cluster.routing.allocation.node_concurrent_recoveries])" } ] },
no idea why
I tried to create on upgraded node test index with same mapping and put the same value it is complaining and it succesfully inserted it.