migrate_8_0.asciidoc 3.4 KB

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