Skip to content

🐞 bug: cannot install shardingshpere 5.5.2 #492

@logan2013

Description

@logan2013

Environment

  • Contents of your values.yaml file,if your helm deployment process goes wrong.
    `Exception in thread "main" java.lang.ClassCastException: class java.lang.String cannot be cast to class java.lang.Integer (java.lang.String and java.lang.Integer are in module java.base of loader 'bootstrap')

at org.apache.shardingsphere.schedule.core.job.statistics.collect.StatisticsCollectJobWorker.getZookeeperConfiguration(StatisticsCollectJobWorker.java:81)`

  • Contents of your CRD resource file. Include proxy.shardingsphere.apache.org/v1alpha1 and proxyconfig.shardingsphere.apache.org/v1alpha1

`apiVersion: shardingsphere.apache.org/v1alpha1
kind: ComputeNode
metadata:
labels:
app: foo
name: foo
spec:
storageNodeConnector:
type: mysql
version: 5.1.47
serverVersion: 5.5.2
replicas: 3
selector:
matchLabels:
app: foo
portBindings:

  • name: server
    containerPort: 3307
    servicePort: 3307
    protocol: TCP
    serviceType: ClusterIP
    bootstrap:
    serverConfig:
    authority:
    privilege:
    type: ALL_PERMITTED
    users:
    - user: root@%
    password: root
    mode:
    type: Cluster
    repository:
    type: ZooKeeper
    props:
    timeToLiveSeconds: "600"
    server-lists: ${PLEASE_REPLACE_THIS_WITH_YOUR_ZOOKEEPER_SERVICE}
    retryIntervalMilliseconds: "500"
    operationTimeoutMilliseconds: "5000"
    namespace: governance_ds
    maxRetries: "3"
    props:
    proxy-frontend-database-protocol-type: MySQL
    `
  • Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version

Issue description

  • Which phase is not functioning properly, is it the installation phase or the apply CRD phase ?

Error log

  • Including ShardingSphere-Proxy error log and ShardingSphere-Operator error log

Expected result

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions