ubuntu 16.04 在 yarn 客户端模式下运行 spark 时不断重启

ubuntu 16.04 在 yarn 客户端模式下运行 spark 时不断重启

我刚刚安装了 ubuntu 16.04,但是它非常不稳定,并且会随机重启。

我最后一次随机重启是在 02:16,/var/log/syslog 中的以下日志可能与该问题有关

Jun 10 02:16:41 Aspire-VN7-791 org.gnome.zeitgeist.Engine[10959]: ** (zeitgeist-datahub:11718): WARNING **: zeitgeist-datahub.vala:229: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
Jun 10 02:16:46 Aspire-VN7-791 gnome-session[11134]: (gnome-software:11325): Gs-WARNING **: failed to call gs_plugin_add_updates_historical on fwupd: failed to start fwupd: Error calling StartServiceByName for org.freedesktop.fwupd: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.freedesktop.fwupd': timed out
Jun 10 02:16:46 Aspire-VN7-791 gnome-session[11134]: (gnome-software:11325): Gs-WARNING **: failed to call gs_plugin_refine on appstream: Error opening file: Permission denied
Jun 10 02:16:54 Aspire-VN7-791 dhclient[11647]: XMT: Info-Request on wlp7s0, interval 28680ms.
Jun 10 02:17:01 Aspire-VN7-791 CRON[11990]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 10 02:16:11 Aspire-VN7-791 org.gnome.zeitgeist.Engine[15096]: #033[31m[18:16:11.780726 WARNING]#033[0m zeitgeist-daemon.vala:449: The connection is closed
Jun 10 02:16:11 Aspire-VN7-791 org.gnome.zeitgeist.Engine[15096]: #033[31m[18:16:11.797010 CRITICAL]#033[0m zeitgeist_daemon_do_quit: assertion 'self != NULL' failed
Jun 10 02:16:11 Aspire-VN7-791 org.gnome.zeitgeist.Engine[15096]: (zeitgeist-daemon:15890): GLib-GIO-WARNING **: Error releasing name org.gnome.zeitgeist.Engine: The connection is closed
Jun 10 02:16:11 Aspire-VN7-791 org.gnome.zeitgeist.SimpleIndexer[15096]: (zeitgeist-fts:15897): GLib-GIO-WARNING **: Error releasing name org.gnome.zeitgeist.SimpleIndexer: The connection is closed
Jun 10 02:16:11 Aspire-VN7-791 org.gnome.zeitgeist.SimpleIndexer[15096]: ** (zeitgeist-fts:15897): WARNING **: zeitgeist-fts.vala:252: The connection is closed
Jun 10 02:16:11 Aspire-VN7-791 systemd[15007]: Stopped target Default.
Jun 10 02:16:11 Aspire-VN7-791 systemd[15007]: Reached target Shutdown.
Jun 10 02:16:11 Aspire-VN7-791 systemd[15007]: Starting Exit the Session...
Jun 10 02:16:11 Aspire-VN7-791 systemd[15007]: Stopped target Basic System.
Jun 10 02:16:11 Aspire-VN7-791 systemd[15007]: Stopped target Paths.
Jun 10 02:16:11 Aspire-VN7-791 systemd[15007]: Stopped target Timers.
Jun 10 02:16:11 Aspire-VN7-791 systemd[15007]: Stopped target Sockets.
Jun 10 02:16:11 Aspire-VN7-791 systemd[15007]: Received SIGRTMIN+24 from PID 10562 (kill).

你能帮忙解释一下可能是什么问题吗?

更新 1

我最近的崩溃在 /var/log/syslog 中产生了此消息

Jun 10 12:02:21 Aspire-VN7-791 kernel: [  301.495099] mce: [Hardware Error]: Machine check events logged

这是否意味着我的笔记本电脑有硬件问题?

更新 2 Ubuntu 16.04 不支持 yarn 客户端模式下的 spark。

我在我的笔记本电脑上运行了 ubuntu 16.04 的压力测试,但它并没有崩溃。

我还尝试安装 ubuntu 14 并在 yarn 客户端模式下运行 spark。它也没有崩溃。

答案1

升级到 16.04 后我遇到了同样的问题。看来你需要安装 gnome-shell,我不知道为什么它不见了!

$ sudo apt-get install gnome-shell

更新:我的 Ubuntu 16.04 确实缺少 gnome-shell,但根本原因似乎是其他原因,很可能是内存耗尽,而我在 Ubuntu 15.1 中没有遇到过这种情况!我会继续更新答案。

相关内容