Reply
New Contributor
Posts: 3
Registered: ‎09-26-2016
Accepted Solution

Unable to install on Debian 8

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

 

New Contributor
Posts: 2
Registered: ‎05-18-2015

Re: Unable to install on Debian 8

Same thing with the ubuntu precise repositories

New Contributor
Posts: 2
Registered: ‎05-18-2015

Re: Unable to install on Debian 8

In my case, replacing the deb entries "precise-cdh5" with "precise-cdh5.8.2" fixed it.

New Contributor
Posts: 3
Registered: ‎09-26-2016

Re: Unable to install on Debian 8

Changing the repo setup to

 

deb [arch=amd64] "http://archive.cloudera.com/cdh5/debian/jessie/amd64/cdh" jessie-cdh5.8.0 contrib

 

solved this 

Highlighted
New Contributor
Posts: 4
Registered: ‎01-04-2017

Re: Unable to install on Debian 8

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