Apache Storm:此脚本已弃用。当 运行 风暴雨云,主管,ui
Apache Storm: This script is deprecated. when run storm nimbus, supervisor, ui
我刚刚接触 Apache Storm。我只是在笔记本电脑上安装了 Storm 和 ZooKeeper。 ZooKeeper 运行良好,但使用命令:storm nimbus,它显示 "This script is deprecated"。请看截图
当 运行 storm supervisor 命令和 ui 时出现同样的问题。
有人知道出了什么问题吗?如果有人能帮我弄清楚这一点,我将不胜感激。谢谢~
错误消息告诉您出了什么问题。该脚本已弃用,您应该改用 Powershell 脚本。在storm/bin 目录中,有一个storm.cmd 和一个storm.ps1 脚本。你应该使用 storm.ps1 脚本而不是 storm.cmd.
您可以 运行 来自普通 Windows 终端的脚本,例如"powershell -file storm.ps1 nimbus",或者如果你想让普通 "storm nimbus" 工作,你可以删除 storm.cmd 文件,Windows 应该会自动使用 powershell 脚本。
这样做的背景是 storm.cmd 脚本跟不上 Linux 中使用的 Bash+Python 脚本,所以我们决定弃用它并用更短的 Powershell 脚本替换它,该脚本委托给 Linux 中使用的相同 Python 脚本。 https://issues.apache.org/jira/browse/STORM-2558
我刚刚接触 Apache Storm。我只是在笔记本电脑上安装了 Storm 和 ZooKeeper。 ZooKeeper 运行良好,但使用命令:storm nimbus,它显示 "This script is deprecated"。请看截图
当 运行 storm supervisor 命令和 ui 时出现同样的问题。
有人知道出了什么问题吗?如果有人能帮我弄清楚这一点,我将不胜感激。谢谢~
错误消息告诉您出了什么问题。该脚本已弃用,您应该改用 Powershell 脚本。在storm/bin 目录中,有一个storm.cmd 和一个storm.ps1 脚本。你应该使用 storm.ps1 脚本而不是 storm.cmd.
您可以 运行 来自普通 Windows 终端的脚本,例如"powershell -file storm.ps1 nimbus",或者如果你想让普通 "storm nimbus" 工作,你可以删除 storm.cmd 文件,Windows 应该会自动使用 powershell 脚本。
这样做的背景是 storm.cmd 脚本跟不上 Linux 中使用的 Bash+Python 脚本,所以我们决定弃用它并用更短的 Powershell 脚本替换它,该脚本委托给 Linux 中使用的相同 Python 脚本。 https://issues.apache.org/jira/browse/STORM-2558