SlideShare a Scribd company logo
1 of 33
ElasticSearch
Migration 2.x to 6.x
Presented by Pankaj Gajjar
1st Dec 2018.
2
Agenda
1. Intro & UseCase
2. ElasticSearch Migration Challenges
3. Migration
4. What is changes in 6.5?
5. AMA
Intro & UseCase
3
Pankaj Gajjar.
Enterprise Architect (TOGAF® Certified)
13+ years experience in Product Development.
10 years experience in CONTENTSERV
Contact me :
https://about.me/pankajgajjar
What We Do ?
6
• We used the ElasticSearch for Application Search
• Only Searchable Data Store into Elastic Search.
• Search Data is updated to Elastic using Open Source Messaging System.
• OLTP Data is store into Open Source RDBMS
UseCase - Application Search
ElasticSearch Migration Challenges
7
8
ElasticSearch Migration Challenges
1. Indices creation
2. Multiple mapping types
3. Client
4. Cluster
5. Mapping
6. Document Apis
7. Security
9
• Elasticsearch 6.x can read indices created in version 5.x
• An Elasticsearch 6.x node will not start in the presence of indices created in a version of
Elasticsearch before 5.x
• Indices created in Elasticsearch 2.x or before will need to be reindexed with Elasticsearch 5.x
1. Indices creation
10
• Indices created in 2.x has support multiple mapping types
• Multiple mapping types per index has been removed in 6.x
• New indices will be restricted to a single type in 6.x
• Indices created in 5.x will continue to support multiple mapping types.
2. Multiple mapping types
11
• Java High Level REST Client is designed in 5.6.x
• Works on top of the Java Low Level REST client.
• Release in 2016
• API can be called synchronously or asynchronously
• request marshalling and response un-marshalling is handled by the client itself
• Plan to replace the TransportClient in a near future
• Exists since 8 Feb 2010 (First commit
• Deprecated in 7.0.0.
• Removed in 8.0.0
3. Client Changes
12
• Cluster name no longer allowed in path.data
4. Cluster Changes
13
• Elasticsearch 2.x/5.x recognized the strings true, false, on, off, yes, no, 0, 1 as booleans
• Elasticsearch 6.x recognizes only the strings true and false as booleans and will throw an error
otherwise
• The _all meta field is now disabled by default
• The query_string and simple_query_string queries that previously used _all to search
• Unrecognized match_mapping_type options not silently ignored and will throw an error.
• Elasticsearch max field size
• If there is one object mapping, then the depth is 2 , etc. The default is 20 .
index.mapping.nested_fields.limit. The maximum number of nested fields in an index, defaults to
50
• String fields replaced by text/keyword fields.
• This allows to perform full-text search on the original field name and to
sort and run aggregations on the sub keyword field
5. Mapping Changes
14
• Version type force removed
• Upserts no longer support versions
• created field removed in the Index API
• found field removed in the Delete API
6. Document Apis Changes
15
• Opened X-Pack (Starting with version 6.3)
• X-Pack features: security, alerting, monitoring, reporting, graph analytics, dedicated APM UIs,
and machine learning
• it is open under custom elastic license
7. Security Change
Migration
16
17
• Migration between minor versions — e.g. 6.x to 6.y — can be performed by upgrading one node at
a time.
• Migration between consecutive major versions — e.g. 5.x to 6.x — requires a full cluster restart.
• Migration between non-consecutive major versions — e.g. 2.x to 6.x — is not supported mean
reindex need
General rule
18
• Review the breaking changes for changes that affect your application.
• Check the deprecation log to see if you are using any deprecated features.
• If you use custom plugins, make sure compatible versions are available.
• Test upgrades in a dev environment before upgrading your production cluster.
• Back up your data before upgrading.
• You cannot roll back to an earlier version unless you have a backup of your data.
Before upgrading Elasticsearch
19
_reindex api or Logstash
2.x -> 6.x
20
Rolling upgrade
5.6.x -> 6.0.x
• Disable shard allocation
• Shut down a single node
• Upgrade the node you shut down
• Start the upgraded node
• Reenable shard allocation
• Wait for the node to recover
• Repeat - Cluster - all nodes
21
Rolling upgrade
5.6.x -> 6.0.x
22
Full cluster restart upgrade
5.0-5.5 -> 6.x
23
snapshot & restore
2.x -> 6.x
• snapshot & restore _snapshot in the 2.x cluster
• restore 2.x to 5.x in the new cluster 5.x
• 5.x to 6.x enabled
• 2.x to 6.x not allowed
24
Elastic Stack 6.x(3) Upgrade Guide
25
Elastic Stack 6.x(3) Upgrade Guide
26
https://www.elastic.co/products/upgrade_guide
Elastic Stack 6.x(3) Upgrade Guide
ElasticSearch 6.5 Changes ?
27
28
Major Changes :
• Replicate data from one cluster to another with cross-cluster replication (beta)(commercial).
• You'll also find _source only snapshots,
• support for Java 11 & ODBC driver (alpha)
• G1 Garbage Collector
Logging Changes
%node_name in logging pattern
Search changes
Scroll
SQL plugin changes
Grouping by columns with missing values will create an additional group
Client changes
Deprecate Retry.withBackoff methods that take Settings
Security changes
Custom role providers interface change
Settings changes
Audit logfile local node info
Highlights :: Changes in ES 6.5
29
AMA
30
31
https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-6.0.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/rolling-upgrades.html
https://www.elastic.co/blog/elastic-stack-6-5-0-released
Ref. for you
Thank You.
33

More Related Content

What's hot

ADO.Net Improvements in .Net 2.0
ADO.Net Improvements in .Net 2.0ADO.Net Improvements in .Net 2.0
ADO.Net Improvements in .Net 2.0David Truxall
 
CTS2 Development Framework
CTS2 Development FrameworkCTS2 Development Framework
CTS2 Development Frameworkcts2framework
 
World2016_T5_S5_SQLServerFunctionalOverview
World2016_T5_S5_SQLServerFunctionalOverviewWorld2016_T5_S5_SQLServerFunctionalOverview
World2016_T5_S5_SQLServerFunctionalOverviewFarah Omer
 
World2016_T5_S7_TeradataFunctionalOverview
World2016_T5_S7_TeradataFunctionalOverviewWorld2016_T5_S7_TeradataFunctionalOverview
World2016_T5_S7_TeradataFunctionalOverviewFarah Omer
 
Евгений Курпилянский "Индексирование поверх Cassandra". Выступление на Cassan...
Евгений Курпилянский "Индексирование поверх Cassandra". Выступление на Cassan...Евгений Курпилянский "Индексирование поверх Cassandra". Выступление на Cassan...
Евгений Курпилянский "Индексирование поверх Cassandra". Выступление на Cassan...it-people
 
Introduction to Apache Cassandra™ + What’s New in 4.0
Introduction to Apache Cassandra™ + What’s New in 4.0Introduction to Apache Cassandra™ + What’s New in 4.0
Introduction to Apache Cassandra™ + What’s New in 4.0DataStax
 
Metalkube: Deploy Kubernetes on Bare Metal - Yolanda Robla (Red Hat)
Metalkube: Deploy Kubernetes on Bare Metal - Yolanda Robla (Red Hat)Metalkube: Deploy Kubernetes on Bare Metal - Yolanda Robla (Red Hat)
Metalkube: Deploy Kubernetes on Bare Metal - Yolanda Robla (Red Hat)Shift Conference
 
Watcher, a Resource Manager for OpenStack: Plans for the N-release and Beyond
Watcher, a Resource Manager for OpenStack: Plans for the N-release and BeyondWatcher, a Resource Manager for OpenStack: Plans for the N-release and Beyond
Watcher, a Resource Manager for OpenStack: Plans for the N-release and BeyondAntoine Cabot
 
Dutch PHP Conference 2021 - MySQL Indexes and Histograms
Dutch PHP Conference 2021 - MySQL Indexes and HistogramsDutch PHP Conference 2021 - MySQL Indexes and Histograms
Dutch PHP Conference 2021 - MySQL Indexes and HistogramsDave Stokes
 
Using Atlassian UAL and ActiveObjects for Rapid Plugin Development - AtlasCam...
Using Atlassian UAL and ActiveObjects for Rapid Plugin Development - AtlasCam...Using Atlassian UAL and ActiveObjects for Rapid Plugin Development - AtlasCam...
Using Atlassian UAL and ActiveObjects for Rapid Plugin Development - AtlasCam...Atlassian
 
Microservices, Continuous Delivery, and Elasticsearch at Capital One
Microservices, Continuous Delivery, and Elasticsearch at Capital OneMicroservices, Continuous Delivery, and Elasticsearch at Capital One
Microservices, Continuous Delivery, and Elasticsearch at Capital OneNoriaki Tatsumi
 
High Throughput Analytics with Cassandra & Azure
High Throughput Analytics with Cassandra & AzureHigh Throughput Analytics with Cassandra & Azure
High Throughput Analytics with Cassandra & AzureDataStax Academy
 
Query parameterization
Query parameterizationQuery parameterization
Query parameterizationRiteshkiit
 
App Grid Dev With Coherence
App Grid Dev With CoherenceApp Grid Dev With Coherence
App Grid Dev With CoherenceJames Bayer
 

What's hot (20)

ADO.Net Improvements in .Net 2.0
ADO.Net Improvements in .Net 2.0ADO.Net Improvements in .Net 2.0
ADO.Net Improvements in .Net 2.0
 
CTS2 Development Framework
CTS2 Development FrameworkCTS2 Development Framework
CTS2 Development Framework
 
World2016_T5_S5_SQLServerFunctionalOverview
World2016_T5_S5_SQLServerFunctionalOverviewWorld2016_T5_S5_SQLServerFunctionalOverview
World2016_T5_S5_SQLServerFunctionalOverview
 
World2016_T5_S7_TeradataFunctionalOverview
World2016_T5_S7_TeradataFunctionalOverviewWorld2016_T5_S7_TeradataFunctionalOverview
World2016_T5_S7_TeradataFunctionalOverview
 
Евгений Курпилянский "Индексирование поверх Cassandra". Выступление на Cassan...
Евгений Курпилянский "Индексирование поверх Cassandra". Выступление на Cassan...Евгений Курпилянский "Индексирование поверх Cassandra". Выступление на Cassan...
Евгений Курпилянский "Индексирование поверх Cassandra". Выступление на Cassan...
 
Introduction to Apache Cassandra™ + What’s New in 4.0
Introduction to Apache Cassandra™ + What’s New in 4.0Introduction to Apache Cassandra™ + What’s New in 4.0
Introduction to Apache Cassandra™ + What’s New in 4.0
 
Query planner
Query plannerQuery planner
Query planner
 
Cassandra in e-commerce
Cassandra in e-commerceCassandra in e-commerce
Cassandra in e-commerce
 
Gradle - Build System
Gradle - Build SystemGradle - Build System
Gradle - Build System
 
Elastic Stack Roadmap
Elastic Stack RoadmapElastic Stack Roadmap
Elastic Stack Roadmap
 
Elasticsearch
ElasticsearchElasticsearch
Elasticsearch
 
Metalkube: Deploy Kubernetes on Bare Metal - Yolanda Robla (Red Hat)
Metalkube: Deploy Kubernetes on Bare Metal - Yolanda Robla (Red Hat)Metalkube: Deploy Kubernetes on Bare Metal - Yolanda Robla (Red Hat)
Metalkube: Deploy Kubernetes on Bare Metal - Yolanda Robla (Red Hat)
 
Elasticsearch Introduction
Elasticsearch IntroductionElasticsearch Introduction
Elasticsearch Introduction
 
Watcher, a Resource Manager for OpenStack: Plans for the N-release and Beyond
Watcher, a Resource Manager for OpenStack: Plans for the N-release and BeyondWatcher, a Resource Manager for OpenStack: Plans for the N-release and Beyond
Watcher, a Resource Manager for OpenStack: Plans for the N-release and Beyond
 
Dutch PHP Conference 2021 - MySQL Indexes and Histograms
Dutch PHP Conference 2021 - MySQL Indexes and HistogramsDutch PHP Conference 2021 - MySQL Indexes and Histograms
Dutch PHP Conference 2021 - MySQL Indexes and Histograms
 
Using Atlassian UAL and ActiveObjects for Rapid Plugin Development - AtlasCam...
Using Atlassian UAL and ActiveObjects for Rapid Plugin Development - AtlasCam...Using Atlassian UAL and ActiveObjects for Rapid Plugin Development - AtlasCam...
Using Atlassian UAL and ActiveObjects for Rapid Plugin Development - AtlasCam...
 
Microservices, Continuous Delivery, and Elasticsearch at Capital One
Microservices, Continuous Delivery, and Elasticsearch at Capital OneMicroservices, Continuous Delivery, and Elasticsearch at Capital One
Microservices, Continuous Delivery, and Elasticsearch at Capital One
 
High Throughput Analytics with Cassandra & Azure
High Throughput Analytics with Cassandra & AzureHigh Throughput Analytics with Cassandra & Azure
High Throughput Analytics with Cassandra & Azure
 
Query parameterization
Query parameterizationQuery parameterization
Query parameterization
 
App Grid Dev With Coherence
App Grid Dev With CoherenceApp Grid Dev With Coherence
App Grid Dev With Coherence
 

Similar to Elastic Migration 2.x to 6.x By Pankaj Gajjar

Extjs3.4 Migration Notes
Extjs3.4 Migration NotesExtjs3.4 Migration Notes
Extjs3.4 Migration NotesSimoAmi
 
Upgrading to my sql 8.0
Upgrading to my sql 8.0Upgrading to my sql 8.0
Upgrading to my sql 8.0Ståle Deraas
 
Cassandra
CassandraCassandra
Cassandraexsuns
 
MySQL 8 loves JavaScript
MySQL 8 loves JavaScript MySQL 8 loves JavaScript
MySQL 8 loves JavaScript Sanjay Manwani
 
Benchmarking Solr Performance at Scale
Benchmarking Solr Performance at ScaleBenchmarking Solr Performance at Scale
Benchmarking Solr Performance at Scalethelabdude
 
Automatic upgrade and new error logging in my sql 8.0
Automatic upgrade and new error logging in my sql 8.0Automatic upgrade and new error logging in my sql 8.0
Automatic upgrade and new error logging in my sql 8.0Ståle Deraas
 
Using PostgreSQL With Docker & Kubernetes - July 2018
Using PostgreSQL With Docker & Kubernetes - July 2018Using PostgreSQL With Docker & Kubernetes - July 2018
Using PostgreSQL With Docker & Kubernetes - July 2018Jonathan Katz
 
What We Learned About Cassandra While Building go90 (Christopher Webster & Th...
What We Learned About Cassandra While Building go90 (Christopher Webster & Th...What We Learned About Cassandra While Building go90 (Christopher Webster & Th...
What We Learned About Cassandra While Building go90 (Christopher Webster & Th...DataStax
 
MySQL :What's New #GIDS16
MySQL :What's New #GIDS16MySQL :What's New #GIDS16
MySQL :What's New #GIDS16Sanjay Manwani
 
(Re)Indexing Large Repositories in Alfresco
(Re)Indexing Large Repositories in Alfresco(Re)Indexing Large Repositories in Alfresco
(Re)Indexing Large Repositories in AlfrescoAngel Borroy López
 
Grails 3.0 Preview
Grails 3.0 PreviewGrails 3.0 Preview
Grails 3.0 Previewgraemerocher
 
Is your Elastic Cluster Stable and Production Ready?
Is your Elastic Cluster Stable and Production Ready?Is your Elastic Cluster Stable and Production Ready?
Is your Elastic Cluster Stable and Production Ready?DoiT International
 
Managing Security At 1M Events a Second using Elasticsearch
Managing Security At 1M Events a Second using ElasticsearchManaging Security At 1M Events a Second using Elasticsearch
Managing Security At 1M Events a Second using ElasticsearchJoe Alex
 
Upgrading to MySQL 8.0 webinar slides November 27th, 2019
Upgrading to MySQL 8.0 webinar slides November 27th, 2019Upgrading to MySQL 8.0 webinar slides November 27th, 2019
Upgrading to MySQL 8.0 webinar slides November 27th, 2019Dave Stokes
 
Enterprise Presto PaaS offering in Google Cloud
Enterprise Presto PaaS offering in Google Cloud Enterprise Presto PaaS offering in Google Cloud
Enterprise Presto PaaS offering in Google Cloud Ashish Tadose
 
Presto updates to 0.178
Presto updates to 0.178Presto updates to 0.178
Presto updates to 0.178Kai Sasaki
 
MySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMark Swarbrick
 
MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0
MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0
MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0Olivier DASINI
 

Similar to Elastic Migration 2.x to 6.x By Pankaj Gajjar (20)

Extjs3.4 Migration Notes
Extjs3.4 Migration NotesExtjs3.4 Migration Notes
Extjs3.4 Migration Notes
 
Upgrading to my sql 8.0
Upgrading to my sql 8.0Upgrading to my sql 8.0
Upgrading to my sql 8.0
 
Cassandra
CassandraCassandra
Cassandra
 
MySQL 5.7 what's new
MySQL 5.7 what's newMySQL 5.7 what's new
MySQL 5.7 what's new
 
MySQL 8 loves JavaScript
MySQL 8 loves JavaScript MySQL 8 loves JavaScript
MySQL 8 loves JavaScript
 
Benchmarking Solr Performance at Scale
Benchmarking Solr Performance at ScaleBenchmarking Solr Performance at Scale
Benchmarking Solr Performance at Scale
 
Automatic upgrade and new error logging in my sql 8.0
Automatic upgrade and new error logging in my sql 8.0Automatic upgrade and new error logging in my sql 8.0
Automatic upgrade and new error logging in my sql 8.0
 
Using PostgreSQL With Docker & Kubernetes - July 2018
Using PostgreSQL With Docker & Kubernetes - July 2018Using PostgreSQL With Docker & Kubernetes - July 2018
Using PostgreSQL With Docker & Kubernetes - July 2018
 
What We Learned About Cassandra While Building go90 (Christopher Webster & Th...
What We Learned About Cassandra While Building go90 (Christopher Webster & Th...What We Learned About Cassandra While Building go90 (Christopher Webster & Th...
What We Learned About Cassandra While Building go90 (Christopher Webster & Th...
 
MySQL :What's New #GIDS16
MySQL :What's New #GIDS16MySQL :What's New #GIDS16
MySQL :What's New #GIDS16
 
(Re)Indexing Large Repositories in Alfresco
(Re)Indexing Large Repositories in Alfresco(Re)Indexing Large Repositories in Alfresco
(Re)Indexing Large Repositories in Alfresco
 
Grails 3.0 Preview
Grails 3.0 PreviewGrails 3.0 Preview
Grails 3.0 Preview
 
Is your Elastic Cluster Stable and Production Ready?
Is your Elastic Cluster Stable and Production Ready?Is your Elastic Cluster Stable and Production Ready?
Is your Elastic Cluster Stable and Production Ready?
 
Managing Security At 1M Events a Second using Elasticsearch
Managing Security At 1M Events a Second using ElasticsearchManaging Security At 1M Events a Second using Elasticsearch
Managing Security At 1M Events a Second using Elasticsearch
 
Where to save my data, for devs!
Where to save my data, for devs!Where to save my data, for devs!
Where to save my data, for devs!
 
Upgrading to MySQL 8.0 webinar slides November 27th, 2019
Upgrading to MySQL 8.0 webinar slides November 27th, 2019Upgrading to MySQL 8.0 webinar slides November 27th, 2019
Upgrading to MySQL 8.0 webinar slides November 27th, 2019
 
Enterprise Presto PaaS offering in Google Cloud
Enterprise Presto PaaS offering in Google Cloud Enterprise Presto PaaS offering in Google Cloud
Enterprise Presto PaaS offering in Google Cloud
 
Presto updates to 0.178
Presto updates to 0.178Presto updates to 0.178
Presto updates to 0.178
 
MySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats new
 
MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0
MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0
MySQL Day Paris 2018 - Upgrade from MySQL 5.7 to MySQL 8.0
 

Recently uploaded

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 

Recently uploaded (20)

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 

Elastic Migration 2.x to 6.x By Pankaj Gajjar

  • 1. ElasticSearch Migration 2.x to 6.x Presented by Pankaj Gajjar 1st Dec 2018.
  • 2. 2 Agenda 1. Intro & UseCase 2. ElasticSearch Migration Challenges 3. Migration 4. What is changes in 6.5? 5. AMA
  • 4. Pankaj Gajjar. Enterprise Architect (TOGAF® Certified) 13+ years experience in Product Development. 10 years experience in CONTENTSERV Contact me : https://about.me/pankajgajjar
  • 6. 6 • We used the ElasticSearch for Application Search • Only Searchable Data Store into Elastic Search. • Search Data is updated to Elastic using Open Source Messaging System. • OLTP Data is store into Open Source RDBMS UseCase - Application Search
  • 8. 8 ElasticSearch Migration Challenges 1. Indices creation 2. Multiple mapping types 3. Client 4. Cluster 5. Mapping 6. Document Apis 7. Security
  • 9. 9 • Elasticsearch 6.x can read indices created in version 5.x • An Elasticsearch 6.x node will not start in the presence of indices created in a version of Elasticsearch before 5.x • Indices created in Elasticsearch 2.x or before will need to be reindexed with Elasticsearch 5.x 1. Indices creation
  • 10. 10 • Indices created in 2.x has support multiple mapping types • Multiple mapping types per index has been removed in 6.x • New indices will be restricted to a single type in 6.x • Indices created in 5.x will continue to support multiple mapping types. 2. Multiple mapping types
  • 11. 11 • Java High Level REST Client is designed in 5.6.x • Works on top of the Java Low Level REST client. • Release in 2016 • API can be called synchronously or asynchronously • request marshalling and response un-marshalling is handled by the client itself • Plan to replace the TransportClient in a near future • Exists since 8 Feb 2010 (First commit • Deprecated in 7.0.0. • Removed in 8.0.0 3. Client Changes
  • 12. 12 • Cluster name no longer allowed in path.data 4. Cluster Changes
  • 13. 13 • Elasticsearch 2.x/5.x recognized the strings true, false, on, off, yes, no, 0, 1 as booleans • Elasticsearch 6.x recognizes only the strings true and false as booleans and will throw an error otherwise • The _all meta field is now disabled by default • The query_string and simple_query_string queries that previously used _all to search • Unrecognized match_mapping_type options not silently ignored and will throw an error. • Elasticsearch max field size • If there is one object mapping, then the depth is 2 , etc. The default is 20 . index.mapping.nested_fields.limit. The maximum number of nested fields in an index, defaults to 50 • String fields replaced by text/keyword fields. • This allows to perform full-text search on the original field name and to sort and run aggregations on the sub keyword field 5. Mapping Changes
  • 14. 14 • Version type force removed • Upserts no longer support versions • created field removed in the Index API • found field removed in the Delete API 6. Document Apis Changes
  • 15. 15 • Opened X-Pack (Starting with version 6.3) • X-Pack features: security, alerting, monitoring, reporting, graph analytics, dedicated APM UIs, and machine learning • it is open under custom elastic license 7. Security Change
  • 17. 17 • Migration between minor versions — e.g. 6.x to 6.y — can be performed by upgrading one node at a time. • Migration between consecutive major versions — e.g. 5.x to 6.x — requires a full cluster restart. • Migration between non-consecutive major versions — e.g. 2.x to 6.x — is not supported mean reindex need General rule
  • 18. 18 • Review the breaking changes for changes that affect your application. • Check the deprecation log to see if you are using any deprecated features. • If you use custom plugins, make sure compatible versions are available. • Test upgrades in a dev environment before upgrading your production cluster. • Back up your data before upgrading. • You cannot roll back to an earlier version unless you have a backup of your data. Before upgrading Elasticsearch
  • 19. 19 _reindex api or Logstash 2.x -> 6.x
  • 20. 20 Rolling upgrade 5.6.x -> 6.0.x • Disable shard allocation • Shut down a single node • Upgrade the node you shut down • Start the upgraded node • Reenable shard allocation • Wait for the node to recover • Repeat - Cluster - all nodes
  • 22. 22 Full cluster restart upgrade 5.0-5.5 -> 6.x
  • 23. 23 snapshot & restore 2.x -> 6.x • snapshot & restore _snapshot in the 2.x cluster • restore 2.x to 5.x in the new cluster 5.x • 5.x to 6.x enabled • 2.x to 6.x not allowed
  • 24. 24 Elastic Stack 6.x(3) Upgrade Guide
  • 25. 25 Elastic Stack 6.x(3) Upgrade Guide
  • 28. 28 Major Changes : • Replicate data from one cluster to another with cross-cluster replication (beta)(commercial). • You'll also find _source only snapshots, • support for Java 11 & ODBC driver (alpha) • G1 Garbage Collector Logging Changes %node_name in logging pattern Search changes Scroll SQL plugin changes Grouping by columns with missing values will create an additional group Client changes Deprecate Retry.withBackoff methods that take Settings Security changes Custom role providers interface change Settings changes Audit logfile local node info Highlights :: Changes in ES 6.5
  • 29. 29
  • 33. 33