I am trying to create 3 elasticsearch type from code in an Index. One type is created successfully. Add data come in ES. But second type is not getting created. I am using spring elasticsearch data to create the data in ES.
This is below logs in ES. I can see the mapping for first Type , but 2nd Type I cant see mapping in ES.
When I debug the code , the statement is executed successfully
^C[2017-11-28 09:47:44,028][INFO ][node ] [Human Robot] stopping ...
[2017-11-28 09:47:44,135][INFO ][node ] [Human Robot] stopped
[2017-11-28 09:47:44,135][INFO ][node ] [Human Robot] closing ...
[2017-11-28 09:47:44,154][INFO ][node ] [Human Robot] closed
BANL141bbeaff:bin vpati$ elasticsearch
[2017-11-28 09:47:47,032][INFO ][node ] [Destroyer] version[2.4.6], pid[10955], build[5376dca/2017-07-18T12:17:44Z]
[2017-11-28 09:47:47,033][INFO ][node ] [Destroyer] initializing ...
[2017-11-28 09:47:47,537][INFO ][plugins ] [Destroyer] modules [reindex, lang-expression, lang-groovy], plugins [], sites []
[2017-11-28 09:47:47,589][INFO ][env ] [Destroyer] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable_space [247.1gb], net total_space [464.6gb], spins? [unknown], types [hfs]
[2017-11-28 09:47:47,589][INFO ][env ] [Destroyer] heap size [989.8mb], compressed ordinary object pointers [true]
[2017-11-28 09:47:47,589][WARN ][env ] [Destroyer] max file descriptors [10240] for elasticsearch process likely too low, consider increasing to at least [65536]
[2017-11-28 09:47:49,089][INFO ][node ] [Destroyer] initialized
[2017-11-28 09:47:49,089][INFO ][node ] [Destroyer] starting ...
[2017-11-28 09:47:49,160][INFO ][transport ] [Destroyer] publish_address {127.0.0.1:9300}, bound_addresses {[fe80::1]:9300}, {[::1]:9300}, {127.0.0.1:9300}
[2017-11-28 09:47:49,163][INFO ][discovery ] [Destroyer] elasticsearch/L-5qohSRRCqjy8wgp46J_Q
[2017-11-28 09:47:52,197][INFO ][cluster.service ] [Destroyer] new_master {Destroyer}{L-5qohSRRCqjy8wgp46J_Q}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
[2017-11-28 09:47:52,211][INFO ][http ] [Destroyer] publish_address {127.0.0.1:9200}, bound_addresses {[fe80::1]:9200}, {[::1]:9200}, {127.0.0.1:9200}
[2017-11-28 09:47:52,211][INFO ][node ] [Destroyer] started
[2017-11-28 09:47:52,247][INFO ][gateway ] [Destroyer] recovered [1] indices into cluster_state
[2017-11-28 09:47:52,524][INFO ][cluster.routing.allocation] [Destroyer] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[asset_attributor][1]] ...]).
[2017-11-28 09:55:07,230][INFO ][cluster.metadata ] [Destroyer] [asset_attributor] create_mapping [snow_asset]
[2017-11-28 09:55:07,272][INFO ][cluster.metadata ] [Destroyer] [asset_attributor] create_mapping [host_app]
[2017-11-28 09:55:07,290][INFO ][cluster.metadata ] [Destroyer] [asset_attributor] create_mapping [ip_app]
[2017-11-28 09:55:45,703][INFO ][cluster.metadata ] [Destroyer] [asset_attributor] update_mapping [snow_asset]
[2017-11-28 09:57:44,115][INFO ][cluster.metadata ] [Destroyer] [asset_attributor] update_mapping [snow_asset]