[ 
https://issues.apache.org/jira/browse/FLINK-15798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-15798:
-----------------------------------
      Labels: auto-deprioritized-major auto-deprioritized-minor  (was: 
auto-deprioritized-major stale-minor)
    Priority: Not a Priority  (was: Minor)

This issue was labeled "stale-minor" 7 days ago and has not received any 
updates so it is being deprioritized. If this ticket is actually Minor, please 
raise the priority and ask a committer to assign you the issue or revive the 
public discussion.


> Running ./bin/kubernetes-session.sh -Dkubernetes.cluster-id=<CLUSTER-ID> 
> -Dexecution.attached=true fails with exception
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-15798
>                 URL: https://issues.apache.org/jira/browse/FLINK-15798
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / Kubernetes
>    Affects Versions: 1.10.0
>            Reporter: Till Rohrmann
>            Priority: Not a Priority
>              Labels: auto-deprioritized-major, auto-deprioritized-minor
>
> Running {{./bin/kubernetes-session.sh -Dkubernetes.cluster-id=<CLUSTER-ID> 
> -Dexecution.attached=true}} fails with 
> {code}
> 2020-01-28 15:04:28,669 ERROR 
> org.apache.flink.kubernetes.cli.KubernetesSessionCli          - Error while 
> running the Flink session.
> io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: 
> GET at: https://35.234.77.125/api/v1/namespaces/default/services/testing. 
> Message: Unauthorized! Token may have expired! Please log-in again. 
> Unauthorized.
>       at 
> io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:510)
>       at 
> io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:447)
>       at 
> io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:413)
>       at 
> io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:372)
>       at 
> io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet(OperationSupport.java:337)
>       at 
> io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet(OperationSupport.java:318)
>       at 
> io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleGet(BaseOperation.java:812)
>       at 
> io.fabric8.kubernetes.client.dsl.base.BaseOperation.getMandatory(BaseOperation.java:220)
>       at 
> io.fabric8.kubernetes.client.dsl.base.BaseOperation.get(BaseOperation.java:164)
>       at 
> org.apache.flink.kubernetes.kubeclient.Fabric8FlinkKubeClient.getService(Fabric8FlinkKubeClient.java:330)
>       at 
> org.apache.flink.kubernetes.kubeclient.Fabric8FlinkKubeClient.getInternalService(Fabric8FlinkKubeClient.java:243)
>       at 
> org.apache.flink.kubernetes.cli.KubernetesSessionCli.run(KubernetesSessionCli.java:104)
>       at 
> org.apache.flink.kubernetes.cli.KubernetesSessionCli.lambda$main$0(KubernetesSessionCli.java:185)
>       at 
> org.apache.flink.runtime.security.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:30)
>       at 
> org.apache.flink.kubernetes.cli.KubernetesSessionCli.main(KubernetesSessionCli.java:185)
> {code}
> even though {{echo "stop" | ./bin/kubernetes-session.sh 
> -Dkubernetes.cluster-id=<CLUSTER-ID> -Dexecution.attached=true}} succeeds 
> with my setup. This is strange as I would expect that the former call should 
> do exactly the same as the second except for sending the "stop" command right 
> away. I think we should check whether this is a real problem or only specific 
> to my setup.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to