Created on 09-26-2016 03:28 AM - edited 09-16-2022 03:41 AM
Unable to install any package on Debian 8
Added repository
deb [arch=amd64] "http://archive.cloudera.com/cdh5/debian/jessie/amd64/cdh" jessie-cdh5 contrib
Added key as described in manual
apt-get update fails with message:
W: Failed to fetch http://archive.cloudera.com/cdh5/debian/jessie/amd64/cdh/dists/jessie-cdh5/contrib/binary-amd64/Pack... Hash Sum mismatch
Created 09-26-2016 11:50 AM
Changing the repo setup to
deb [arch=amd64] "http://archive.cloudera.com/cdh5/debian/jessie/amd64/cdh" jessie-cdh5.8.0 contrib
solved this
Created 09-26-2016 08:56 AM
Same thing with the ubuntu precise repositories
Created 09-26-2016 09:17 AM
In my case, replacing the deb entries "precise-cdh5" with "precise-cdh5.8.2" fixed it.
Created 09-26-2016 11:50 AM
Changing the repo setup to
deb [arch=amd64] "http://archive.cloudera.com/cdh5/debian/jessie/amd64/cdh" jessie-cdh5.8.0 contrib
solved this
Created 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