Skip to content
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

WARNING: Illegal reflective access by io.protostuff.runtime.PolymorphicThrowableSchema #319

Closed
ynuyasha opened this issue Nov 16, 2021 · 2 comments · Fixed by #373
Closed

Comments

@ynuyasha
Copy link

Describe the bug
when i start container with node.roles: [data,ingest] i receive this warning:

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by io.protostuff.runtime.PolymorphicThrowableSchema (file:/usr/share/opensearch/plugins/opensearch-anomaly-detection/protostuff-runtime-1.7.4.jar) to field java.lang.Throwable.cause WARNING: Please consider reporting this to the maintainers of io.protostuff.runtime.PolymorphicThrowableSchema WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

inside a master or coordinator node i don't have this warning

To Reproduce
Steps to reproduce the behavior:

  1. create a cluster with 1 master node, 1 coordinator node, 1 ingest and data node

Expected behavior

the warning is not present

Plugins

[2021-11-16T16:35:17,961][INFO ][o.o.p.PluginsService ] [data1] loaded module [aggs-matrix-stats]
[2021-11-16T16:35:17,961][INFO ][o.o.p.PluginsService ] [data1] loaded module [analysis-common]
[2021-11-16T16:35:17,961][INFO ][o.o.p.PluginsService ] [data1] loaded module [geo]
[2021-11-16T16:35:17,961][INFO ][o.o.p.PluginsService ] [data1] loaded module [ingest-common]
[2021-11-16T16:35:17,961][INFO ][o.o.p.PluginsService ] [data1] loaded module [ingest-geoip]
[2021-11-16T16:35:17,961][INFO ][o.o.p.PluginsService ] [data1] loaded module [ingest-user-agent]
[2021-11-16T16:35:17,962][INFO ][o.o.p.PluginsService ] [data1] loaded module [lang-expression]
[2021-11-16T16:35:17,962][INFO ][o.o.p.PluginsService ] [data1] loaded module [lang-mustache]
[2021-11-16T16:35:17,962][INFO ][o.o.p.PluginsService ] [data1] loaded module [lang-painless]
[2021-11-16T16:35:17,962][INFO ][o.o.p.PluginsService ] [data1] loaded module [mapper-extras]
[2021-11-16T16:35:17,962][INFO ][o.o.p.PluginsService ] [data1] loaded module [opensearch-dashboards]
[2021-11-16T16:35:17,962][INFO ][o.o.p.PluginsService ] [data1] loaded module [parent-join]
[2021-11-16T16:35:17,962][INFO ][o.o.p.PluginsService ] [data1] loaded module [percolator]
[2021-11-16T16:35:17,962][INFO ][o.o.p.PluginsService ] [data1] loaded module [rank-eval]
[2021-11-16T16:35:17,962][INFO ][o.o.p.PluginsService ] [data1] loaded module [reindex]
[2021-11-16T16:35:17,962][INFO ][o.o.p.PluginsService ] [data1] loaded module [repository-url]
[2021-11-16T16:35:17,963][INFO ][o.o.p.PluginsService ] [data1] loaded module [transport-netty4]
[2021-11-16T16:35:17,963][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [discovery-ec2]
[2021-11-16T16:35:17,963][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [opensearch-alerting]
[2021-11-16T16:35:17,963][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [opensearch-anomaly-detection]
[2021-11-16T16:35:17,963][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [opensearch-asynchronous-search]
[2021-11-16T16:35:17,963][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [opensearch-cross-cluster-replication]
[2021-11-16T16:35:17,963][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [opensearch-index-management]
[2021-11-16T16:35:17,964][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [opensearch-job-scheduler]
[2021-11-16T16:35:17,964][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [opensearch-knn]
[2021-11-16T16:35:17,964][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [opensearch-notebooks]
[2021-11-16T16:35:17,964][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [opensearch-performance-analyzer]
[2021-11-16T16:35:17,964][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [opensearch-reports-scheduler]
[2021-11-16T16:35:17,964][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [opensearch-security]
[2021-11-16T16:35:17,964][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [opensearch-sql]
[2021-11-16T16:35:17,964][INFO ][o.o.p.PluginsService ] [data1] loaded plugin [repository-s3]

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: Ubuntu 18 lts
  • opensearch docker image version 1.1.0

Additional context
Add any other context about the problem here.

@CEHENKLE CEHENKLE transferred this issue from opensearch-project/OpenSearch Nov 16, 2021
@CEHENKLE
Copy link
Member

Hey, @opensearch-project/anomaly-detection ! It looks to me like the dependency for protostuff-runtime-1.7.4.jar is coming from you. Can you take a look? If I'm wrong, please feel free to LMK and I'll transfer it back.

@ylwu-amzn
Copy link
Collaborator

Thanks @CEHENKLE , this is some known issue #263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants