无法拉出 zeppelin-server 镜像

问题描述

我在 Mac 上使用 Docker 和 K8,并尝试在 K8 上安装 Zeppelin 以尝试 Spark 作业。

我正在关注 https://zeppelin.apache.org/docs/0.9.0-SNAPSHOT/quickstart/kubernetes.html 并在第一步中被卡住

在执行 <table id="table"> <tr> <th id="item">Item</th> <th>Ounces (Oz)</th> <th>Grams (g)</th> <th>Fluid Ounces (FOz)</th> <th>Milliliters (mL)</th> <th>Drops</th> <th>Completed</th> </tr> </table> <p>Click button to test funtionality.</p> <button onclick="AddRow()">Click Me</button> <script> function AddRow() { // Get ID for table from HTML file var table = document.getElementById("table"); // Count number of columns in table var columnNumber = document.getElementById("table").rows[0].cells.length; // Add row to last row in table var row = document.getElementById("table").insertRow(-1); // Add columns to new row matching header // Loop should start at 0 and continue as long as you are less than // the array length for (i = 0; i < columnNumber; i++) { // Create Input field in table var newInput = document.createElement("INPUT"); // newInput.setAttribute("type","text"); <-- Not needed: type="text" is the default // newInput.setAttribute("placeholder","Raw Good Name"); <-- See following line for simpler Syntax newInput.placeholder = "Raw Good Name"; newInput.classList.add("TableInput"); // If we're not on the first of last column if(i !== 0 && i < columnNumber - 1){ newInput.type = "number"; // Make the input a number } row.insertCell(0).appendChild(newInput); } } </script> 时,我得到:

kubectl apply -f zeppelin-server.yaml

事件:

enter image description here

我没有修改文件中的任何内容

解决方法

Zeppelin image published on Docker hub 与 Zeppelin 主页上的 config file 中引用的 Zeppelin 图像之间似乎存在不一致。

使用 this commit,配置文件中的图像已从 zeppelin 更改为 zeppelin-server(以及其他一些更改已实施)。新镜像好像还没有推送到 Docker hub。

要使用 Zeppelin 主页上的配置文件运行 Zeppelin 部署,请尝试更改配置文件中的三行:

  • 第 32 行:已发布图像的名称为 apache/zeppelin:0.9.0。可以看到此名称 here
  • 第 33 行:ZEPPELIN_HOME 应设置为 /zeppelin。这对应于图像 Docker fileZ_HOME 的值。
  • 第 177 行:此处也应更正图像名称并将其设置为 apache/zeppelin:0.9.0

另一种选择是恢复到旧版本的 config file

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...