Member since
01-04-2017
4
Posts
0
Kudos Received
0
Solutions
01-04-2017
11:32 AM
Installation is broken again. After installing hadoop-hdfs-namenode, I get a Log4J error. Failed to load class "org.slf4j.impl.StaticLoggerBinder". I've tried to install log4j debian packages as well as modifying HADOOP_CLASSPATH in hadoop-env.sh without success. This is the error shown after trying to start the namenode (systemctl status hadoop-hdfs-namenode.service): ● hadoop-hdfs-namenode.service - LSB: Hadoop namenode Loaded: loaded (/etc/init.d/hadoop-hdfs-namenode) Active: failed (Result: exit-code) since Wed 2017-01-04 20:29:01 CET; 10s ago Process: 8670 ExecStart=/etc/init.d/hadoop-hdfs-namenode start (code=exited, status=1/FAILURE) Jan 04 20:28:52 debian su[8701]: + ??? root:hdfs Jan 04 20:28:52 debian su[8701]: pam_unix(su:session): session opened for user hdfs by (uid=0) Jan 04 20:28:52 debian hadoop-hdfs-namenode[8670]: starting namenode, logging to /var/log/hadoop-hdfs/hadoop-hdfs-namenode-debian.out Jan 04 20:28:53 debian hadoop-hdfs-namenode[8670]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". Jan 04 20:28:53 debian hadoop-hdfs-namenode[8670]: SLF4J: Defaulting to no-operation (NOP) logger implementation Jan 04 20:28:53 debian hadoop-hdfs-namenode[8670]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Jan 04 20:29:01 debian hadoop-hdfs-namenode[8670]: Failed to start Hadoop namenode. Return value: 1 ... failed! Jan 04 20:29:01 debian systemd[1]: hadoop-hdfs-namenode.service: control process exited, code=exited status=1 Jan 04 20:29:01 debian systemd[1]: Failed to start LSB: Hadoop namenode. Jan 04 20:29:01 debian systemd[1]: Unit hadoop-hdfs-namenode.service entered failed state. ---------------------------------- The contents of
... View more