Zeppelin错误:部署到Kubernetes集群后出现“解释器进程未运行”

时间:2020-04-22 02:38:29

标签: docker apache-spark kubernetes apache-zeppelin

我是这些docker,kubernetes和zeppelin的新手。 当前我在kubernetes集群上部署了一个docker镜像,当我尝试运行一个非常简单的python代码时,它给出了以下错误,我检查了解释器,它们都是绿色的,有人知道可能的原因是什么?谢谢,还附加了我正在使用的yaml文件

org.apache.zeppelin.interpreter.InterpreterException: java.io.IOException: Interpreter process is not running
null
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:134)
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:298)
    at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:431)
    at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:74)
    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:159)
    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)
Caused by: java.io.IOException: Interpreter process is not running
null
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:166)
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:131)
    ... 13 more

Yaml文件:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: zeppelin-spark
spec:
  replicas: 1
  selector:
    matchLabels:
      app: zeppelin-spark
  template:
    metadata:
      labels:
        app: zeppelin-spark
    spec:
      containers:
      - name: zeppelin-spark
        image: 411028718373.dkr.ecr.us-east-1.amazonaws.com/zeppelin:official
        command: [ "/bin/bash", "-ce", "tail -f /dev/null" ]
        resources:
          limits:
            memory: "4Gi"
          requests:
            memory: "2Gi"
        # volumeMounts:
        # - mountPath: "/media"
        #   name: test-volume
        ports:
        - containerPort: 8080
      # volumes:
      # - name: test-volume
      #   persistentVolumeClaim:
      #     claimName: test-volume

1 个答案:

答案 0 :(得分:0)

转到zeppeline Web ui并单击右上角的设置图标,然后选择适当的解释器并将其拖动到“解释器绑定”区域中的顶部位置,保存并再次尝试运行该段落。 / p>