8000 aliyun ACK 测试flink-application模式增量通部署失败,须将TIS的JDK版本升级到JDK11 · Issue #365 · datavane/tis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
aliyun ACK 测试flink-application模式增量通部署失败,须将TIS的JDK版本升级到JDK11 #365
Closed
@baisui1981

Description

@baisui1981

点击部署按钮之后在wait服务端部署完成节点报以下异常

Caused by: java.lang.IllegalArgumentException: The field `volumeMounts` in the JSON string is not defined in the `V1ContainerStatus` properties. JSON: 


{
    "name": "flink-main-container",
    "state": {
        "waiting": {
            "reason": "ContainerCreating"
        }
    },
    "lastState": {},
    "ready": false,
    "restartCount": 0,
    "image": "registry.cn-hangzhou.aliyuncs.com/tis/flink:4.0.1",
    "imageID": "",
    "started": false,
    "volumeMounts": [{
        "name": "flink-config-volume",
        "mountPath": "/opt/flink/conf"
    }, {
        "name": "kube-api-access-7j942",
        "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
        "readOnly": true,
        "recursiveReadOnly": "Disabled"
    }]
}


        at io.kubernetes.client.openapi.models.V1ContainerStatus.validateJsonObject(V1ContainerStatus.java:448)
        at io.kubernetes.client.openapi.models.V1PodStatus.validateJsonObject(V1PodStatus.java:661)
        at io.kubernetes.client.openapi.models.V1Pod.validateJsonObject(V1Pod.java:284)
        at io.kubernetes.client.openapi.models.V1Pod$CustomTypeAdapterFactory$1.read(V1Pod.java:309)
        at io.kubernetes.client.openapi.models.V1Pod$CustomTypeAdapterFactory$1.read(V1Pod.java:299)
        at com.google.gson.TypeAdapter$1.read(TypeAdapter.java:204)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.readIntoField(ReflectiveTypeAdapterFactory.java:212)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.readField(ReflectiveTypeAdapterFactory.java:433)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:393)
        at com.google.gson.Gson.fromJson(Gson.java:1227)
        at com.google.gson.Gson.fromJson(Gson.java:1137)
        at com.google.gson.Gson.fromJson(Gson.java:1047)
        at com.google.gson.Gson.fromJson(Gson.java:1014)
        at io.kubernetes.client.openapi.JSON.deserialize(JSON.java:722)
        at io.kubernetes.client.util.Watch.parseLine(Watch.java:172)
        at io.kubernetes.client.util.Watch.next(Watch.java:128)
        at io.kubernetes.client.util.Watch.next(Watch.java:38)
        at com.qlangtech.tis.plugin.k8s.K8SUtils.waitReplicaControllerLaunch(K8SUtils.java:638)
        ... 138 common frames omitted
{
    "name": "flink-main-container",
    "state": {
        "waiting": {
            "reason": "ContainerCreating"
        }
    },
    "lastState": {},
    "ready": false,
    "restartCount": 0,
    "image": "registry.cn-hangzhou.aliyuncs.com/tis/flink:4.0.1",
    "imageID": "",
    "started": false,
    "volumeMounts": [{
        "name": "flink-config-volume",
        "mountPath": "/opt/flink/conf"
    }, {
        "name": "kube-api-access-7j942",
        "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
        "readOnly": true,
        "recursiveReadOnly": "Disabled"
    }]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0