-
Notifications
You must be signed in to change notification settings - Fork 20
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
When my pipeline job deploy and run, error was happend #47
Comments
Hi,
What is the k8s version you are using? We've only tested the CDAP operator
for K8s 0.13.x and 0.14.x
Terence
…On Tue, Jun 2, 2020 at 9:48 PM hyun39 ***@***.***> wrote:
I set up by the web page (
https://medium.com/cdapio/cdap-in-kubernetes-deployment-guide-7c0777dbc3a6
). I used cdap-operator release/2.0.
CDAP main page was opend correctly.
Pipeline job saving and preview test was done correctly.
I tried deploying and running. I met next error message.
java.lang.RuntimeException: Unable to create Kubernetes resource while
attempting to start program.
at
io.cdap.cdap.k8s.runtime.KubeTwillPreparer.start(KubeTwillPreparer.java:328)
~[na:na]
at
io.cdap.cdap.internal.app.runtime.distributed.DistributedProgramRunner$1.call(DistributedProgramRunner.java:354)
~[na:na]
at
io.cdap.cdap.internal.app.runtime.distributed.DistributedProgramRunner$1.call(DistributedProgramRunner.java:252)
~[na:na]
at
io.cdap.cdap.security.impersonation.ImpersonationUtils$1.run(ImpersonationUtils.java:47)
~[na:na]
at java.security.AccessController.doPrivileged(Native Method)
~[na:1.8.0_252]
at javax.security.auth.Subject.doAs(Subject.java:422) ~[na:1.8.0_252]
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1893)
~[hadoop-common-2.9.2.jar:na]
at
io.cdap.cdap.security.impersonation.ImpersonationUtils.doAs(ImpersonationUtils.java:44)
~[na:na]
at
io.cdap.cdap.security.impersonation.DefaultImpersonator.doAs(DefaultImpersonator.java:74)
~[na:na]
at
io.cdap.cdap.security.impersonation.DefaultImpersonator.doAs(DefaultImpersonator.java:63)
~[na:na]
at
io.cdap.cdap.internal.app.runtime.distributed.DistributedProgramRunner.run(DistributedProgramRunner.java:366)
~[na:na]
at
io.cdap.cdap.app.runtime.AbstractProgramRuntimeService.lambda$run$2(AbstractProgramRuntimeService.java:180)
~[na:na]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
~[na:1.8.0_252]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
~[na:1.8.0_252]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_252]
Caused by: io.kubernetes.client.ApiException: Unprocessable Entity
at io.kubernetes.client.ApiClient.handleResponse(ApiClient.java:882)
~[na:na]
at io.kubernetes.client.ApiClient.execute(ApiClient.java:798) ~[na:na]
at
io.kubernetes.client.apis.CoreV1Api.createNamespacedConfigMapWithHttpInfo(CoreV1Api.java:7548)
~[na:na]
at
io.kubernetes.client.apis.CoreV1Api.createNamespacedConfigMap(CoreV1Api.java:7530)
~[na:na]
at
io.cdap.cdap.k8s.runtime.KubeTwillPreparer.createConfigMap(KubeTwillPreparer.java:588)
~[na:na]
at
io.cdap.cdap.k8s.runtime.KubeTwillPreparer.start(KubeTwillPreparer.java:324)
~[na:na]
... 14 common frames omitted
Are there anybody who know the reason?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#47>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGYCKGG2P66FNLJHWR7YHDRUXI3HANCNFSM4NRJ7DZA>
.
--
Terence Yim | Staff Software Engineer | [email protected] |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I set up by the web page (https://medium.com/cdapio/cdap-in-kubernetes-deployment-guide-7c0777dbc3a6 ). I used cdap-operator release/2.0.
CDAP main page was opend correctly.
Pipeline job saving and preview test was done correctly.
I tried deploying and running. I met next error message.
java.lang.RuntimeException: Unable to create Kubernetes resource while attempting to start program.
at io.cdap.cdap.k8s.runtime.KubeTwillPreparer.start(KubeTwillPreparer.java:328) ~[na:na]
at io.cdap.cdap.internal.app.runtime.distributed.DistributedProgramRunner$1.call(DistributedProgramRunner.java:354) ~[na:na]
at io.cdap.cdap.internal.app.runtime.distributed.DistributedProgramRunner$1.call(DistributedProgramRunner.java:252) ~[na:na]
at io.cdap.cdap.security.impersonation.ImpersonationUtils$1.run(ImpersonationUtils.java:47) ~[na:na]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_252]
at javax.security.auth.Subject.doAs(Subject.java:422) ~[na:1.8.0_252]
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1893) ~[hadoop-common-2.9.2.jar:na]
at io.cdap.cdap.security.impersonation.ImpersonationUtils.doAs(ImpersonationUtils.java:44) ~[na:na]
at io.cdap.cdap.security.impersonation.DefaultImpersonator.doAs(DefaultImpersonator.java:74) ~[na:na]
at io.cdap.cdap.security.impersonation.DefaultImpersonator.doAs(DefaultImpersonator.java:63) ~[na:na]
at io.cdap.cdap.internal.app.runtime.distributed.DistributedProgramRunner.run(DistributedProgramRunner.java:366) ~[na:na]
at io.cdap.cdap.app.runtime.AbstractProgramRuntimeService.lambda$run$2(AbstractProgramRuntimeService.java:180) ~[na:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_252]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_252]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_252]
Caused by: io.kubernetes.client.ApiException: Unprocessable Entity
at io.kubernetes.client.ApiClient.handleResponse(ApiClient.java:882) ~[na:na]
at io.kubernetes.client.ApiClient.execute(ApiClient.java:798) ~[na:na]
at io.kubernetes.client.apis.CoreV1Api.createNamespacedConfigMapWithHttpInfo(CoreV1Api.java:7548) ~[na:na]
at io.kubernetes.client.apis.CoreV1Api.createNamespacedConfigMap(CoreV1Api.java:7530) ~[na:na]
at io.cdap.cdap.k8s.runtime.KubeTwillPreparer.createConfigMap(KubeTwillPreparer.java:588) ~[na:na]
at io.cdap.cdap.k8s.runtime.KubeTwillPreparer.start(KubeTwillPreparer.java:324) ~[na:na]
... 14 common frames omitted
Are there anybody who know the reason?
The text was updated successfully, but these errors were encountered: