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 operation has occurred" in Base64Helper$DescriptorNameSetter #1574

Closed
rursprung opened this issue Jan 14, 2022 · 1 comment
Labels
bug Something isn't working triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable.

Comments

@rursprung
Copy link
Contributor

Describe the bug
the following message is printed to the log after the node has started an initialised:

{"type": "server", "timestamp": "2022-01-14T15:51:40,430Z", "level": "INFO", "component": "o.o.s.c.ConfigurationRepository", "cluster.name": "test-opensearch", "node.name": "test-opensearch-0", "message": "Node 'test-opensearch-0' initialized", "cluster.uuid": "V-4_N73oSNeqHcQz1_TGPQ", "node.id": "yqbeGcGeRdir3d_mmE_4Dw"  }
{"type": "deprecation", "timestamp": "2022-01-14T15:51:40,777Z", "level": "DEPRECATION", "component": "o.o.d.c.m.IndexNameExpressionResolver", "cluster.name": "test-opensearch", "node.name": "test-opensearch-0", "message": "this request accesses system indices: [.opendistro_security], but in a future major version, direct access to system indices will be prevented by default", "cluster.uuid": "V-4_N73oSNeqHcQz1_TGPQ", "node.id": "yqbeGcGeRdir3d_mmE_4Dw"  }
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.opensearch.security.support.Base64Helper$DescriptorNameSetter (file:/opt/avaloq/opensearch/plugins/opensearch-security/opensearch-security-1.2.3.0.jar) to field java.io.ObjectStreamClass.name
WARNING: Please consider reporting this to the maintainers of org.opensearch.security.support.Base64Helper$DescriptorNameSetter
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

To Reproduce
start a node of opensearch with the opensearch security plugin enabled.
note that i started it as a single-node cluster.

Expected behavior
no such warnings.

Plugins

Screenshots
n/a

Host/Environment (please complete the following information):

  • OS: RedHat UBI 7 as container base image
  • running on OpenShift 4 (Kubernetes v1.19)

Additional context
n/a

@rursprung rursprung added Beta bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized labels Jan 14, 2022
@peternied peternied removed the Beta label Apr 8, 2022
@davidlago davidlago removed the untriaged Require the attention of the repository maintainers and may need to be prioritized label Apr 12, 2022
@rursprung
Copy link
Contributor Author

i think this has been solved at some point, at least i hadn't seen the error anymore and @cliu123 removed the offending class in fa9cd5b (released with 2.0.0.0), so this ticket can probably be closed by now?

@davidlago davidlago added the triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable. label Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
Projects
None yet
Development

No branches or pull requests

3 participants