Leemoonsoo commented on pull request #3825:
URL: https://github.com/apache/zeppelin/pull/3825#issuecomment-651340674


   The change looks great overall.
   
   I tested this branch in my Kubernetes environment and I'm getting an error 
when running a paragraph.
   
   ```
   java.lang.IllegalArgumentException: Name must be provided.
        at 
io.fabric8.kubernetes.client.dsl.base.BaseOperation.withName(BaseOperation.java:271)
        at 
io.fabric8.kubernetes.client.dsl.base.BaseOperation.withName(BaseOperation.java:79)
        at 
io.fabric8.kubernetes.client.handlers.core.v1.PodHandler.reload(PodHandler.java:49)
        at 
io.fabric8.kubernetes.client.handlers.core.v1.PodHandler.reload(PodHandler.java:25)
        at 
io.fabric8.kubernetes.client.dsl.internal.NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.createOrReplace(NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.java:259)
        at 
io.fabric8.kubernetes.client.dsl.internal.NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.createOrReplace(NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.java:65)
        at 
org.apache.zeppelin.interpreter.launcher.K8sRemoteInterpreterProcess.apply(K8sRemoteInterpreterProcess.java:253)
        at 
org.apache.zeppelin.interpreter.launcher.K8sRemoteInterpreterProcess.apply(K8sRemoteInterpreterProcess.java:241)
        at 
org.apache.zeppelin.interpreter.launcher.K8sRemoteInterpreterProcess.start(K8sRemoteInterpreterProcess.java:127)
        at 
org.apache.zeppelin.interpreter.ManagedInterpreterGroup.getOrCreateInterpreterProcess(ManagedInterpreterGroup.java:67)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getOrCreateInterpreterProcess(RemoteInterpreter.java:110)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:160)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:131)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:281)
        at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:412)
        at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:72)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:172)
        at 
org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:130)
        at 
org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:180)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
   ```
   
   Although my environment has a [slight 
modification](https://github.com/open-datastudio/zeppelin/blob/master-snapshot/.staroid/k8s/100-interpreter-spec.yaml)
 on `k8s/100-interpreter-spec.yaml` but the modification does not change 
`metadata.name` field.
   
   `kubectl` based code works without error against the same resource file.
   Is there any place I can check?
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to