微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

无法拉出 zeppelin-server 镜像

如何解决无法拉出 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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?