Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Unable to install on Debian 8

avatar
New Contributor

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

 

1 ACCEPTED SOLUTION

avatar
New Contributor

Changing the repo setup to

 

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

 

solved this 

View solution in original post

4 REPLIES 4

avatar
Frequent Visitor

Same thing with the ubuntu precise repositories

avatar
Frequent Visitor

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

avatar
New Contributor

Changing the repo setup to

 

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

 

solved this 

avatar
Explorer

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