migrate_8_0.asciidoc 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. [discrete]
  41. [[breaking_80_cluster_node_setting_deprecations]]
  42. ==== Cluster and node setting deprecations
  43. [[deprecate-transient-cluster-settings]]
  44. .We no longer recommend using transient cluster settings.
  45. [%collapsible]
  46. ====
  47. *Details* +
  48. We no longer recommend using transient cluster settings. Use persistent cluster
  49. settings instead. If a cluster becomes unstable, transient settings can clear
  50. unexpectedly, resulting in an undesired cluster configuration.
  51. *Impact* +
  52. Transient cluster settings are not yet deprecated, but we plan to deprecate them
  53. in a future release. For migration steps, see the
  54. {ref}/transient-settings-migration-guide.html[Transient settings migration
  55. guide].
  56. ====
  57. [discrete]
  58. [[breaking_80_command_line_tool_deprecations]]
  59. ==== Command line tool deprecations
  60. TIP: {ess-skip-section}
  61. [[deprecate-elasticsearch-setup-passwords]]
  62. .The `elasticsearch-setup-passwords` tool is deprecated.
  63. [%collapsible]
  64. ====
  65. *Details* +
  66. The `elasticsearch-setup-passwords` tool is deprecated in 8.0. To
  67. manually reset the password for built-in users (including the `elastic` user), use
  68. the {ref}/reset-password.html[`elasticsearch-reset-password`] tool, the {es}
  69. {ref}/security-api-change-password.html[change passwords API], or the
  70. User Management features in {kib}.
  71. `elasticsearch-setup-passwords` will be removed in a future release.
  72. *Impact* +
  73. Passwords are generated automatically for the `elastic` user when you start {es} for the first time. If you run `elasticsearch-setup-passwords` after
  74. starting {es}, it will fail because the `elastic`
  75. user password is already configured.
  76. ====
  77. include::migrate_8_0/migrate_to_java_time.asciidoc[]
  78. include::transient-settings-migration-guide.asciidoc[]