migrate_8_0.asciidoc 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. [[migrating-8.0]]
  2. == Migrating to 8.0
  3. ++++
  4. <titleabbrev>8.0</titleabbrev>
  5. ++++
  6. This section discusses the changes that you need to be aware of when migrating
  7. your application to {es} 8.0.
  8. See also <<release-highlights>> and <<es-release-notes>>.
  9. coming::[8.0.0]
  10. [discrete]
  11. [[breaking-changes-8.0]]
  12. === Breaking changes
  13. The following changes in {es} 8.0 might affect your applications
  14. and prevent them from operating normally.
  15. Before upgrading to 8.0, review these changes and take the described steps
  16. to mitigate the impact.
  17. include::migrate_8_0/cluster-node-setting-changes.asciidoc[]
  18. include::migrate_8_0/command-line-tool-changes.asciidoc[]
  19. include::migrate_8_0/index-setting-changes.asciidoc[]
  20. include::migrate_8_0/java-api-changes.asciidoc[]
  21. include::migrate_8_0/jvm-option-changes.asciidoc[]
  22. include::migrate_8_0/logging-changes.asciidoc[]
  23. include::migrate_8_0/mapping-changes.asciidoc[]
  24. include::migrate_8_0/packaging-changes.asciidoc[]
  25. include::migrate_8_0/painless-changes.asciidoc[]
  26. include::migrate_8_0/plugin-changes.asciidoc[]
  27. include::migrate_8_0/rest-api-changes.asciidoc[]
  28. include::migrate_8_0/system-req-changes.asciidoc[]
  29. include::migrate_8_0/transform.asciidoc[]
  30. include::migrate_8_0/sql-jdbc-changes.asciidoc[]
  31. [discrete]
  32. [[deprecated-8.0]]
  33. === Deprecations
  34. The following functionality has been deprecated in {es} 8.0
  35. and will be removed in a future version.
  36. While this won't have an immediate impact on your applications,
  37. we strongly encourage you take the described steps to update your code
  38. after upgrading to 8.0.
  39. To find out if you are using any deprecated functionality,
  40. enable <<deprecation-logging, deprecation logging>>.
  41. //NOTE: The notable-breaking-changes tagged regions are re-used in the
  42. //Installation and Upgrade Guide
  43. //tag::notable-breaking-changes[]
  44. [discrete]
  45. [[breaking_80_cluster_node_setting_deprecations]]
  46. ==== Cluster and node setting deprecations
  47. [[deprecate-transient-cluster-settings]]
  48. .We no longer recommend using transient cluster settings.
  49. [%collapsible]
  50. ====
  51. *Details* +
  52. We no longer recommend using transient cluster settings. Use persistent cluster
  53. settings instead. If a cluster becomes unstable, transient settings can clear
  54. unexpectedly, resulting in an undesired cluster configuration.
  55. *Impact* +
  56. Transient cluster settings are not yet deprecated, but we plan to deprecate them
  57. in a future release. For migration steps, see the
  58. {ref}/transient-settings-migration-guide.html[Transient settings migration
  59. guide].
  60. ====
  61. [discrete]
  62. [[breaking_80_command_line_tool_deprecations]]
  63. ==== Command line tool deprecations
  64. TIP: {ess-skip-section}
  65. [[deprecate-elasticsearch-setup-passwords]]
  66. .The `elasticsearch-setup-passwords` tool is deprecated.
  67. [%collapsible]
  68. ====
  69. *Details* +
  70. The `elasticsearch-setup-passwords` tool is deprecated in 8.0. To
  71. manually reset the password for built-in users (including the `elastic` user), use
  72. the {ref}/reset-password.html[`elasticsearch-reset-password`] tool, the {es}
  73. {ref}/security-api-change-password.html[change passwords API], or the
  74. User Management features in {kib}.
  75. `elasticsearch-setup-passwords` will be removed in a future release.
  76. *Impact* +
  77. Passwords are generated automatically for the `elastic` user when you start {es} for the first time. If you run `elasticsearch-setup-passwords` after
  78. starting {es}, it will fail because the `elastic`
  79. user password is already configured.
  80. ====
  81. //end::notable-breaking-changes[]
  82. include::migrate_8_0/migrate_to_java_time.asciidoc[]
  83. include::transient-settings-migration-guide.asciidoc[]