2020-Jul-06 11:05:00.583 ERROR [DefaultQuartzScheduler_Worker-7] [TID:] org.quartz.core.ErrorLogger - Job (GROUP_NAME_CREATE_INDEX.CREATE_INDEX(passrecord) threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception.
at org.quartz.core.JobRunShell.run(JobRunShell.java:213) ~[quartz-2.3.0.jar!/:na]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.0.jar!/:na]
Caused by: java.lang.RuntimeException: ElasticsearchStatusException[Elasticsearch exception [type=mapper_parsing_exception, reason=Failed to parse mapping [_doc]: Mapping definition for [groupDtoList] has unsupported parameters: [nested : true]]]; nested: ElasticsearchException[Elasticsearch exception [type=mapper_parsing_exception, reason=Mapping definition for [groupDtoList] has unsupported parameters: [nested : true]]];
at com.megvii.bbu.common.util.elasticsearch.automatic.ElasticSearchService.createTemplateAndIndex(ElasticSearchService.java:836) ~[common-util-1.0.2-SNAPSHOT.jar!/:na]
at com.megvii.bbu.common.util.elasticsearch.automatic.ElasticSearchService.access
200
(
E
l
a
s
t
i
c
S
e
a
r
c
h
S
e
r
v
i
c
e
.
j
a
v
a
:
93
)
[
c
o
m
m
o
n
−
u
t
i
l
−
1.0.2
−
S
N
A
P
S
H
O
T
.
j
a
r
!
/
:
n
a
]
a
t
c
o
m
.
m
e
g
v
i
i
.
b
b
u
.
c
o
m
m
o
n
.
u
t
i
l
.
e
l
a
s
t
i
c
s
e
a
r
c
h
.
a
u
t
o
m
a
t
i
c
.
E
l
a
s
t
i
c
S
e
a
r
c
h
S
e
r
v
i
c
e
200(ElasticSearchService.java:93) ~[common-util-1.0.2-SNAPSHOT.jar!/:na] at com.megvii.bbu.common.util.elasticsearch.automatic.ElasticSearchService
200(ElasticSearchService.java:93) [common−util−1.0.2−SNAPSHOT.jar!/:na]atcom.megvii.bbu.common.util.elasticsearch.automatic.ElasticSearchServiceCreateIndexJob.execute(ElasticSearchService.java:882) ~[common-util-1.0.2-SNAPSHOT.jar!/:na]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ~[quartz-2.3.0.jar!/:na]
… 1 common frames omitted
Caused by: org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=mapper_parsing_exception, reason=Failed to parse mapping [_doc]: Mapping definition for [groupDtoList] has unsupported parameters: [nested : true]]
at org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:177) ~[elasticsearch-7.6.0.jar!/:7.6.0]
at org.elasticsearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:1793) ~[elasticsearch-rest-high-level-client-7.6.0.jar!/:7.6.0]
at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:1770) ~[elasticsearch-rest-high-level-client-7.6.0.jar!/:7.6.0]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1527) ~[elasticsearch-rest-high-level-client-7.6.0.jar!/:7.6.0]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1484) ~[elasticsearch-rest-high-level-client-7.6.0.jar!/:7.6.0]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1454) ~[elasticsearch-rest-high-level-client-7.6.0.jar!/:7.6.0]
at org.elasticsearch.client.IndicesClient.putTemplate(IndicesClient.java:1272) ~[elasticsearch-rest-high-level-client-7.6.0.jar!/:7.6.0]
at com.megvii.bbu.common.util.elasticsearch.automatic.ElasticSearchService.createTemplateAndIndex(ElasticSearchService.java:810) ~[common-util-1.0.2-SNAPSHOT.jar!/:na]
… 4 common frames omitted
Suppressed: org.elasticsearch.client.ResponseException: method [PUT], host [http://10.122.101.181:19200], URI [/_template/passrecord?master_timeout=30s], status line [HTTP/1.1 400 Bad Request]
{“error”:{“root_cause”:[{“type”:“mapper_parsing_exception”,“reason”:“Mapping definition for [groupDtoList] has unsupported parameters: [nested : true]”}]
,“type”:“mapper_parsing_exception”,“reason”:“Failed to parse mapping [_doc]: Mapping definition for [groupDtoList] has unsupported parameters: [nested : true]”,“caused_by”:{“type”:“mapper_parsing_exception”,“reason”:“Mapping definition for [groupDtoList] has unsupported parameters: [nested : true]”}},“status”:400}
at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:283) ~[elasticsearch-rest-client-7.6.0.jar!/:7.6.0]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:261) ~[elasticsearch-rest-client-7.6.0.jar!/:7.6.0]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:235) ~[elasticsearch-rest-client-7.6.0.jar!/:7.6.0]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1514) ~[elasticsearch-rest-high-level-client-7.6.0.jar!/:7.6.0]
… 8 common frames omitted
Caused by: org.elasticsearch.ElasticsearchException: Elasticsearch exception [type=mapper_parsing_exception, reason=Mapping definition for [groupDtoList] has unsupported parameters: [nested : true]]
at org.elasticsearch.ElasticsearchException.innerFromXContent(ElasticsearchException.java:496) ~[elasticsearch-7.6.0.jar!/:7.6.0]
at org.elasticsearch.ElasticsearchException.fromXContent(ElasticsearchException.java:407) ~[elasticsearch-7.6.0.jar!/:7.6.0]
at org.elasticsearch.ElasticsearchException.innerFromXContent(ElasticsearchException.java:437) ~[elasticsearch-7.6.0.jar!/:7.6.0]
at org.elasticsearch.ElasticsearchException.failureFromXContent(ElasticsearchException.java:603) ~[elasticsearch-7.6.0.jar!/:7.6.0]
at org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:169) ~[elasticsearch-7.6.0.jar!/:7.6.0]
… 11 common frames omitted