Skip to content

Elasticsearch 6.8 logs deprecation message on every startup #45483

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

Closed
spinscale opened this issue Aug 13, 2019 · 2 comments
Closed

Elasticsearch 6.8 logs deprecation message on every startup #45483

spinscale opened this issue Aug 13, 2019 · 2 comments
Assignees
Labels
>bug :Core/Infra/Core Core issues without another label

Comments

@spinscale
Copy link
Contributor

Elasticsearch version (bin/elasticsearch --version): 6.8.2

Description of the problem including expected versus actual behavior:

On every startup, without anything indexing into Elasticsearch, a deprecation message is logged about a date format like this:

[2019-08-13T08:43:11,611][WARN ][o.e.d.c.j.Joda           ] [A2Wr_Jx] 'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier.

Steps to reproduce:

  1. Download 6.8.2
  2. start Elasticsearch
  3. tail logs/elasticsearch_depreciation.log
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

spinscale added a commit that referenced this issue Aug 13, 2019
When starting up Elasticsearch 6.8, there is always a deprecation
message logged like this

[WARN ][o.e.d.c.j.Joda           ] [A2Wr_Jx] 'y' year should be replaced with 'u'. Use 'y' for year-of-era. Prefix your date format with '8' to use the new specifier.

tracing this down, result in the LicenseService being the culprit using
an deprecated date. This switches to a java time based date.

Closes #45483
@spinscale
Copy link
Contributor Author

closed by 9d6b75e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/Core Core issues without another label
Projects
None yet
Development

No branches or pull requests

3 participants