The version of es is 6.7, and some methods of RestHighLevelClient before es 6.7 will not be compatible.
Es 6.3 Start RestHighLevelClient datax. Some methods are relatively complete. If you want to be compatible with the small version, you have to make a big adjustment.
If it is not version es 6.7, it will report an error if the compatibility limit is extremely large.
Caused by: ElasticsearchStatusException[method [HEAD], host [http://192.168.200.18:9212], URI [/linkis_db.node1?include_type_name=false&ignore_unavailable=false&expand_wildcards=open%2Cclosed&allow_no_indices=false], status line [HTTP/1.1 400 Bad Request]]; nested: ResponseException[method [HEAD], host [http://192.168.200.18:9212], URI [/linkis_db.node1?include_type_name=false&ignore_unavailable=false&expand_wildcards=open%2Cclosed&allow_no_indices=false], status line [HTTP/1.1 400 Bad Request]]; nested: ResponseException[method [HEAD], host [http://192.168.200.18:9212], URI [/linkis_db.node1?include_type_name=false&ignore_unavailable=false&expand_wildcards=open%2Cclosed&allow_no_indices=false], status line [HTTP/1.1 400 Bad Request]];
at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:2027)
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1777)
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1749)
at org.elasticsearch.client.IndicesClient.exists(IndicesClient.java:1087)
at com.webank.wedatasphere.exchangis.datax.plugin.writer.elasticsearchwriter.v6.ElasticRestClient.lambda$existIndices$2(ElasticRestClient.java:145)
at com.webank.wedatasphere.exchangis.datax.plugin.writer.elasticsearchwriter.v6.ElasticRestClient.execute(ElasticRestClient.java:242)
... 11 more
Caused by: org.elasticsearch.client.ResponseException: method [HEAD], host [http://192.168.200.18:9212], URI [/linkis_db.node1?include_type_name=false&ignore_unavailable=false&expand_wildcards=open%2Cclosed&allow_no_indices=false], status line [HTTP/1.1 400 Bad Request]
at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:936)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:233)
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1764)
... 15 more