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

Name of the hazelcast schema location[http://www.hazelcast.com/schema/client-config/hazelcast-client-config-5.3.xsd] is incorrect, using default #26315

Closed
JackPGreen opened this issue Apr 16, 2024 · 1 comment
Assignees
Labels
Module: CLI Source: Internal PR or issue was opened by an employee Type: Defect
Milestone

Comments

@JackPGreen
Copy link
Contributor

JackPGreen commented Apr 16, 2024

When run via Docker / Homebrew, hz-cli prints the following warning:
[ WARN] [c.h.c.AbstractXmlConfigHelper] Name of the hazelcast schema location[http://www.hazelcast.com/schema/client-config/hazelcast-client-config-5.3.xsd] is incorrect, using default

hz-cli list-jobs -v shows the path to the configuration (hazelcast.client.config).
The contents shows the unique string The default Hazelcast client configuration used in hz-cli script, which points to this XML file.

This file should be using the latest XSD (e.g. master should use hazelcast/hazelcast/src/main/resources/hazelcast-client-config-5.5.xsd as added in 92fafd0).

@JackPGreen JackPGreen added Type: Defect Source: Internal PR or issue was opened by an employee Module: CLI labels Apr 16, 2024
@JackPGreen JackPGreen added this to the 5.5.0 milestone Apr 16, 2024
@JackPGreen JackPGreen self-assigned this Apr 16, 2024
@JackPGreen
Copy link
Contributor Author

I suspect the root cause is the automation job that generated the new client-config schema should also have incremented the version of supplied configurations, rather than this being an ad-hoc manual process as previously.

JackPGreen added a commit to hazelcast/hazelcast-code-samples that referenced this issue Apr 24, 2024
Addresses the symptom (not root cause) of hazelcast/hazelcast#26315

Increments:
- `http://www.hazelcast.com/schema/config/hazelcast-config-x.y.xsd`
- `http://www.hazelcast.com/schema/spring/hazelcast-spring-x.y.xsd`
- `http://www.hazelcast.com/schema/client-config/hazelcast-client-config-x.y.xsd`
- `http://www.hazelcast.com/schema/client-config/hazelcast-client-failover-config-x.y.xsd`

For all modules which are using the default `hazelcast.version` version of Hazelcast (i.e. `5.5.0-SNAPSHOT`), which is everything _except_:
- `hazelcast-integration/eureka/springboot-embedded`
- `hazelcast-integration/aws-ecs`
- `hazelcast-integration/kubernetes/samples/springboot-k8s-hello-world`
- `hazelcast-integration/spring-data-hazelcast-chemistry-sample`
- `hazelcast-integration/spring-data-jpa-hazelcast-migration`
- `jcache-1.1/times-table`
- `network-configuration/jcloud`
- `network-configuration/jclouds-partitiongroup`
- `querying/project-key`
- `serialization/hazelcast-airlines`
- `sql/hazdb`

[`hazelcast-mono` corresponding PR](hazelcast/hazelcast-mono#1370)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: CLI Source: Internal PR or issue was opened by an employee Type: Defect
Projects
None yet
Development

No branches or pull requests

1 participant