Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when I try to copy an index with -nm #23

Open
syunusic opened this issue Mar 4, 2016 · 0 comments
Open

Problem when I try to copy an index with -nm #23

syunusic opened this issue Mar 4, 2016 · 0 comments

Comments

@syunusic
Copy link

syunusic commented Mar 4, 2016

I have this problem (ES 2.2):

/var/lib/gems/2.0.0/gems/es-reindex-0.3.3/bin$ ./es-reindex -nm http://127.0.0.1/Old_index http://127.0.0.1/New_Index
I, [2016-03-04T12:29:12.094427 #27207]  INFO -- : Copying 'http://127.0.0.1/Old_index' to 'http://127.0.0.1/New_Index'.
Confirm or hit Ctrl-c to abort...

/var/lib/gems/2.0.0/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/base.rb:146:in `__raise_transport_error': [400]  (Elasticsearch::Transport::Transport::Errors::BadRequest)
        from /var/lib/gems/2.0.0/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/base.rb:256:in `perform_request'
        from /var/lib/gems/2.0.0/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/http/faraday.rb:20:in `perform_request'
        from /var/lib/gems/2.0.0/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/client.rb:125:in `perform_request'
        from /var/lib/gems/2.0.0/gems/elasticsearch-api-1.0.15/lib/elasticsearch/api/namespace/common.rb:21:in `perform_request'
        from /var/lib/gems/2.0.0/gems/elasticsearch-api-1.0.15/lib/elasticsearch/api/actions/indices/exists.rb:46:in `block in exists'
        from /var/lib/gems/2.0.0/gems/elasticsearch-api-1.0.15/lib/elasticsearch/api/utils.rb:191:in `__rescue_from_not_found'
        from /var/lib/gems/2.0.0/gems/elasticsearch-api-1.0.15/lib/elasticsearch/api/actions/indices/exists.rb:45:in `exists'
        from /var/lib/gems/2.0.0/gems/es-reindex-0.3.3/lib/es-reindex.rb:105:in `create_destination'
        from /var/lib/gems/2.0.0/gems/es-reindex-0.3.3/lib/es-reindex.rb:80:in `copy!'
        from /var/lib/gems/2.0.0/gems/es-reindex-0.3.3/lib/es-reindex.rb:15:in `block in copy!'
        from /var/lib/gems/2.0.0/gems/es-reindex-0.3.3/lib/es-reindex.rb:13:in `tap'
        from /var/lib/gems/2.0.0/gems/es-reindex-0.3.3/lib/es-reindex.rb:13:in `copy!'
        from ./es-reindex:30:in `<main>'

and this is that appears in /var/log/elasticsearch/node.log


[2016-03-03 19:03:02,399][INFO ][rest.suppressed          ] /New_Index/mappings/_mapping Params: {index=New_Index, type=mappings}
RemoteTransportException[[elastic-1][172.16.87.59:9300][indices:admin/mapping/put]]; nested: MapperParsingException[Root mapping definition has unsupported parameters:  [checkpoint : {properties={@timestamp={type=date, format=strict_date_optional_time||epoch_millis}, @version={type=string}, CookieI={type=string}, CookieR={type=string}, DCE-RPC Interface UUID={type=string}, DCE-RPC Interface UUID-1={type=string}, DCE-RPC Interface UUID-2={type=string}, DCE-RPC Interface UUID-3={type=string}, ICMP={type=string}, ICMP Code={type=string}, ICMP Type={type=string}, IKE IDs:={type=string}, IKE:={type=string}, Log ID={type=string}, NAT_addtnl_rulenum={type=string}, NAT_rulenum={type=string}, Severity={type=string}, User={type=string}, __nsons={type=string}, __p_dport={type=string}, __policy_id_tag={type=string}, __pos={type=string}, action={type=string}, auth_encryption_methods={type=string}, auth_method={type=string}, auth_method3={type=string}, bytes={type=string}, client={type=string}, client_inbound_bytes={type=string}, client_inbound_interface={type=string}, client_inbound_packets={type=string}, client_name={type=string}, client_outbound_bytes={type=string}, client_outbound_interface={type=string}, client_outbound_packets={type=string}, comment={type=string}, community={type=string}, connection_uid={type=string}, cvpn_category={type=string}, description={type=string}, device_identification={type=string}, dst={type=string}, dstkeyid={type=string}, duration={type=string}, elapsed={type=string}, encryption fail reason:={type=string}, encryption failure:={type=string}, event_type={type=string}, failure_impact={type=string}, first_hit_time={type=string}, fw_subproduct={type=string}, has_accounting={type=string}, hit={type=string}, host={type=string}, i_f_dir={type=string}, i_f_name={type=string}, inzone={type=string}, last_hit_time={type=string}, log_id={type=string}, log_sys_message={type=string}, login_timestamp={type=string}, message={type=string}, message_info={type=string}, methods:={type=string}, msgid={type=string}, office_mode_ip={type=string}, orig={type=string}, origin_sic_name={type=string}, outzone={type=string}, packets={type=string}, path={type=string}, peer gateway={type=string}, policy={type=string}, product={type=string}, proto={type=string}, reason={type=string}, reject_category={type=string}, rpc_prog={type=string}, rule={type=string}, rule_name={type=string}, rule_uid={type=string}, s_port={type=string}, scheme:={type=string}, segment_time={type=string}, server_inbound_bytes={type=string}, server_inbound_interface={type=string}, server_inbound_packets={type=string}, server_outbound_bytes={type=string}, server_outbound_interface={type=string}, server_outbound_packets={type=string}, service={type=string}, service_id={type=string}, session_timeout={type=string}, special_properties={type=string}, src={type=string}, srckeyid={type=string}, start_time={type=string}, status={type=string}, svc={type=string}, tags={type=string}, time={type=string}, tunnel_protocol={type=string}, update_service={type=string}, user={type=string}, user_dn={type=string}, user_group={type=string}, uuid={type=string}, version={type=string}, vpn_feature_name={type=string}, vpn_user={type=string}, xlatedport={type=string}, xlatedst={type=string}, xlatesport={type=string}, xlatesrc={type=string}}}]];
Caused by: MapperParsingException[Root mapping definition has unsupported parameters:  [checkpoint : {properties={@timestamp={type=date, format=strict_date_optional_time||epoch_millis}, @version={type=string}, CookieI={type=string}, CookieR={type=string}, DCE-RPC Interface UUID={type=string}, DCE-RPC Interface UUID-1={type=string}, DCE-RPC Interface UUID-2={type=string}, DCE-RPC Interface UUID-3={type=string}, ICMP={type=string}, ICMP Code={type=string}, ICMP Type={type=string}, IKE IDs:={type=string}, IKE:={type=string}, Log ID={type=string}, NAT_addtnl_rulenum={type=string}, NAT_rulenum={type=string}, Severity={type=string}, User={type=string}, __nsons={type=string}, __p_dport={type=string}, __policy_id_tag={type=string}, __pos={type=string}, action={type=string}, auth_encryption_methods={type=string}, auth_method={type=string}, auth_method3={type=string}, bytes={type=string}, client={type=string}, client_inbound_bytes={type=string}, client_inbound_interface={type=string}, client_inbound_packets={type=string}, client_name={type=string}, client_outbound_bytes={type=string}, client_outbound_interface={type=string}, client_outbound_packets={type=string}, comment={type=string}, community={type=string}, connection_uid={type=string}, cvpn_category={type=string}, description={type=string}, device_identification={type=string}, dst={type=string}, dstkeyid={type=string}, duration={type=string}, elapsed={type=string}, encryption fail reason:={type=string}, encryption failure:={type=string}, event_type={type=string}, failure_impact={type=string}, first_hit_time={type=string}, fw_subproduct={type=string}, has_accounting={type=string}, hit={type=string}, host={type=string}, i_f_dir={type=string}, i_f_name={type=string}, inzone={type=string}, last_hit_time={type=string}, log_id={type=string}, log_sys_message={type=string}, login_timestamp={type=string}, message={type=string}, message_info={type=string}, methods:={type=string}, msgid={type=string}, office_mode_ip={type=string}, orig={type=string}, origin_sic_name={type=string}, outzone={type=string}, packets={type=string}, path={type=string}, peer gateway={type=string}, policy={type=string}, product={type=string}, proto={type=string}, reason={type=string}, reject_category={type=string}, rpc_prog={type=string}, rule={type=string}, rule_name={type=string}, rule_uid={type=string}, s_port={type=string}, scheme:={type=string}, segment_time={type=string}, server_inbound_bytes={type=string}, server_inbound_interface={type=string}, server_inbound_packets={type=string}, server_outbound_bytes={type=string}, server_outbound_interface={type=string}, server_outbound_packets={type=string}, service={type=string}, service_id={type=string}, session_timeout={type=string}, special_properties={type=string}, src={type=string}, srckeyid={type=string}, start_time={type=string}, status={type=string}, svc={type=string}, tags={type=string}, time={type=string}, tunnel_protocol={type=string}, update_service={type=string}, user={type=string}, user_dn={type=string}, user_group={type=string}, uuid={type=string}, version={type=string}, vpn_feature_name={type=string}, vpn_user={type=string}, xlatedport={type=string}, xlatedst={type=string}, xlatesport={type=string}, xlatesrc={type=string}}}]]
        at org.elasticsearch.index.mapper.DocumentMapperParser.checkNoRemainingFields(DocumentMapperParser.java:171)
        at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:159)
        at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:100)
        at org.elasticsearch.index.mapper.MapperService.parse(MapperService.java:435)
        at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.applyRequest(MetaDataMappingService.java:257)
        at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.execute(MetaDataMappingService.java:230)
        at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:458)
        at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:762)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant