I am having problems running hadoop jobs in both the pseudo-cluster and cluster mode in ubuntu 16.04.
When starting the installation of vanila hadoop / hdfs - my hadoop user gets logged out and all the processes performed by this user are closed. I don't see anything in the logs (/ var / log / systemd, journalctl or dmesg) which explains why the user is logging out.
It seems like I'm not the only one who has problems with this or a similar problem:
https://stackoverflow.com/questions/38288162/in-ubuntu-16-04-running-hadoop-jar-laptop-gets-rebooted
Note: creating a special user hadoop did not actually solve the problem in my case - but limited the output for the selected user.
https://askubuntu.com/questions/784591/ubuntu-16-04-kills-session-when-resource-usage-is-extremely-high
Is it possible that some problems around the UserGroupInformation class (which may cause a logout in some circumstances), maybe some changes to systemd in ubuntu 16.04 can cause this behavior?
The last lines of the hadoop log that I get before logging out:
... 16/07/13 16:45:37 DEBUG ipc.ProtobufRpcEngine: Call: getJobReport took 4ms 16/07/13 16:45:37 DEBUG security.UserGroupInformation: PrivilegedAction as:hduser (auth:SIMPLE) from:org.apache.hadoop.mapreduce.Job.updateStatus(Job.java:320) 16/07/13 16:45:37 DEBUG ipc.Client: IPC Client (1360814716) connection to laptop/127.0.1.1:37339 from hduser sending
journalctl:
Jul 12 16:06:44 laptop systemd-logind[978]: Removed session 7. Jul 12 16:06:44 laptop systemd-logind[978]: Removed session 6. Jul 12 16:06:44 laptop systemd-logind[978]: Removed session 5. Jul 12 16:06:44 laptop systemd-logind[978]: Removed session 8.
Syslog:
Jul 12 16:06:43 laptop systemd[4172]: Stopped target Default. Jul 12 16:06:43 laptop systemd[4172]: Reached target Shutdown. Jul 12 16:06:44 laptop systemd[4172]: Starting Exit the Session... Jul 12 16:06:44 laptop systemd[4172]: Stopped target Basic System. Jul 12 16:06:44 laptop systemd[4172]: Stopped target Sockets. Jul 12 16:06:44 laptop systemd[4172]: Stopped target Paths. Jul 12 16:06:44 laptop systemd[4172]: Stopped target Timers. Jul 12 16:06:44 laptop systemd[4172]: Received SIGRTMIN+24 from PID 10101 (kill). Jul 12 16:06:44 laptop systemd[1]: Stopped User Manager for UID 1001. Jul 12 16:06:44 laptop systemd[1]: Removed slice User Slice of hduser.
source share