Hello, I have succefully deployed containers for b...
# troubleshoot
m
Hello, I have succefully deployed containers for both datahub-gms and datahub-front. They are both functional but when I log in, in the datahub-gms logs I get the following warnings and error:
Copy code
07:32:34.075 [ForkJoinPool.commonPool-worker-0] WARN  org.elasticsearch.client.RestClient:65 - request [POST <http://elasticcluster_master1-elastic:9200/*index_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>] returned 1 warnings: [299 Elasticsearch-8.0.0-1b6a7ece17463df5ff54a3e1302d825889aa1161 "[ignore_throttled] parameter is deprecated because frozen indices have been deprecated. Consider cold or frozen tiers in place of frozen indices."]
 07:32:34.080 [ForkJoinPool.commonPool-worker-1] WARN  org.elasticsearch.client.RestClient:65 - request [POST <http://elasticcluster_master1-elastic:9200/*index_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>] returned 1 warnings: [299 Elasticsearch-8.0.0-1b6a7ece17463df5ff54a3e1302d825889aa1161 "[ignore_throttled] parameter is deprecated because frozen indices have been deprecated. Consider cold or frozen tiers in place of frozen indices."]
 07:32:34.092 [ForkJoinPool.commonPool-worker-4] WARN  org.elasticsearch.client.RestClient:65 - request [POST <http://elasticcluster_master1-elastic:9200/datahub_usage_event/_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>] returned 1 warnings: [299 Elasticsearch-8.0.0-1b6a7ece17463df5ff54a3e1302d825889aa1161 "[ignore_throttled] parameter is deprecated because frozen indices have been deprecated. Consider cold or frozen tiers in place of frozen indices."]
 07:32:34.103 [ForkJoinPool.commonPool-worker-2] WARN  org.elasticsearch.client.RestClient:65 - request [POST <http://elasticcluster_master1-elastic:9200/*index_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>] returned 1 warnings: [299 Elasticsearch-8.0.0-1b6a7ece17463df5ff54a3e1302d825889aa1161 "[ignore_throttled] parameter is deprecated because frozen indices have been deprecated. Consider cold or frozen tiers in place of frozen indices."]
 07:32:34.104 [ForkJoinPool.commonPool-worker-0] WARN  org.elasticsearch.client.RestClient:65 - request [POST <http://elasticcluster_master1-elastic:9200/*index_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>] returned 1 warnings: [299 Elasticsearch-8.0.0-1b6a7ece17463df5ff54a3e1302d825889aa1161 "[ignore_throttled] parameter is deprecated because frozen indices have been deprecated. Consider cold or frozen tiers in place of frozen indices."]
 07:32:34.106 [ForkJoinPool.commonPool-worker-5] WARN  org.elasticsearch.client.RestClient:65 - request [POST <http://elasticcluster_master1-elastic:9200/datahub_usage_event/_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>] returned 1 warnings: [299 Elasticsearch-8.0.0-1b6a7ece17463df5ff54a3e1302d825889aa1161 "[ignore_throttled] parameter is deprecated because frozen indices have been deprecated. Consider cold or frozen tiers in place of frozen indices."]
 07:32:34.115 [I/O dispatcher 1] ERROR c.l.m.k.e.ElasticsearchConnector:47 - Error feeding bulk request. No retries left
 java.io.IOException: Unable to parse response body for Response{requestLine=POST /_bulk?timeout=1m HTTP/1.1, host=<http://elasticcluster_master1-elastic:9200>, response=HTTP/1.1 200 OK}
    at org.elasticsearch.client.RestHighLevelClient$1.onSuccess(RestHighLevelClient.java:1764)
    at org.elasticsearch.client.RestClient$FailureTrackingResponseListener.onSuccess(RestClient.java:609)
    at org.elasticsearch.client.RestClient$1.completed(RestClient.java:352)
    at org.elasticsearch.client.RestClient$1.completed(RestClient.java:346)
    at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:122)
    at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:181)
    at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:448)
    at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:338)
    at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:265)
    at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
    at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
    at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
    at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
    at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
    at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
    at java.lang.Thread.run(Thread.java:748)
 Caused by: java.lang.NullPointerException: null
    at java.util.Objects.requireNonNull(Objects.java:203)
    at org.elasticsearch.action.DocWriteResponse.<init>(DocWriteResponse.java:127)
    at org.elasticsearch.action.index.IndexResponse.<init>(IndexResponse.java:54)
    at org.elasticsearch.action.index.IndexResponse.<init>(IndexResponse.java:39)
    at org.elasticsearch.action.index.IndexResponse$Builder.build(IndexResponse.java:107)
    at org.elasticsearch.action.index.IndexResponse$Builder.build(IndexResponse.java:104)
    at org.elasticsearch.action.bulk.BulkItemResponse.fromXContent(BulkItemResponse.java:159)
    at org.elasticsearch.action.bulk.BulkResponse.fromXContent(BulkResponse.java:196)
    at org.elasticsearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:1892)
    at org.elasticsearch.client.RestHighLevelClient.lambda$performRequestAsyncAndParseEntity$10(RestHighLevelClient.java:1680)
    at org.elasticsearch.client.RestHighLevelClient$1.onSuccess(RestHighLevelClient.java:1762)
    ... 18 common frames omitted
I am using ElasticSearch 8.0.0. When I had ElasticSearch 7.9.3 (as in the quickstart docker-compose) I didn't get these messages.
Is it a problem of the elasticsearch version?? Or is it some missconfiguration problem?? Thanks in advance.
b
It does seem to be some elasticsearch version error - we've not yet seen this yet but if there are major changes between 7.9.3 and 8.0.0 then its certainly possible
m
In the version there are a lot of changes, a few of them are related to the Bulk API. As the error I get is connected too with the Bulk API, it might be. But it is strange that no one has got this error before. Thanks anyways John.
b
@microscopic-mechanic-13766 Agree that is strange, though I'm not sure how many folks are actively using > 8.0 of elastic
m
True, but it seems like 7.9.3 might have the log4j vulnerability (at least later versions of ES have it) so for a production environment it is non-viable
I am currently using the 7.16.1 version (which doesn't have the mentioned vulnerability). It doesn't give the previous mentioned errors (as there are no changes in the Bulk API in 7.x versions) but it prints out a lot of warnings like the following:
Copy code
WARN  org.elasticsearch.client.RestClient:65 - request [HEAD <http://elasticcluster_master1-elastic:9200/datahub_usage_event?ignore_throttled=false&ignore_unavailable=false&expand_wildcards=open%2Cclosed&allow_no_indices=false>] returned 1 warnings: [299 Elasticsearch-7.16.1-5b38441b16b1ebb16a27c107a4c3865776e20c53 "[ignore_throttled] parameter is deprecated because frozen indices have been deprecated. Consider cold or frozen tiers in place of frozen indices."]