icy-flag-80360
03/29/2023, 12:10 PMuppressed: org.elasticsearch.client.ResponseException: method [POST], host [<http://elasticsearch-master:9200>], URI [/datahubpolicyindex_v2/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512&ccs_minimize_roundtrips=true], status line [HTTP/1.1 400 Bad Request] {"error":{"root_cause":[{"type":"query_shard_exception","reason":"[simple_query_string] analyzer [query_word_delimited] not found","index_uuid":"GZJPC-CBTtekUqWRmtZGfA","index":"datahubpolicyindex_v2"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"datahubpolicyindex_v2","node":"MhPwkRJ4T8WYHY0QwONrOg","reason":{"type":"query_shard_exception","reason":"[simple_query_string] analyzer [query_word_delimited] not found","index_uuid":"GZJPC-CBTtekUqWRmtZGfA","index":"datahubpolicyindex_v2"}}]},"status":400}
But if I'm check from curl in GMS pod - all ok, elastic returns data with existing policies, but without any index_uuid. Example:
curl -XGET 'http://elasticsearch-master:9200/datahubpolicyindex_v2/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512&ccs_minimize_roundtrips=true'
Is any ways to repair it? I'll tried many ways to recover with full erasing elastic data too.icy-flag-80360
03/30/2023, 9:48 AMcurl -X DELETE "<http://localhost:9200/_all>" )
3. Run MAE Consumer with version 0.9.6.1 (Last version of MAE, that create indices, if not created)
4. Run DatahubUpgrade 0.10.0 with SystemUpdate parameter ( "`java -jar /datahub/datahub-upgrade/bin/datahub-upgrade.jar -u SystemUpdate`")
5. After that run datahub with version 0.10 and run DatahubUpgrade with java -jar /datahub/datahub-upgrade/bin/datahub-upgrade.jar -u RestoreIndices
In this moment as for me - 0.10.1 on k8s is broken=\astonishing-answer-96712
04/03/2023, 8:39 PMorange-night-91387
04/03/2023, 9:22 PMicy-flag-80360
04/06/2023, 7:16 AM