Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to install on Debian 8

Solved Go to solution
Highlighted

Unable to install on Debian 8

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

Accepted Solutions
Highlighted

Re: Unable to install on Debian 8

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
Highlighted

Re: Unable to install on Debian 8

New Contributor

Same thing with the ubuntu precise repositories

Highlighted

Re: Unable to install on Debian 8

New Contributor

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

Highlighted

Re: Unable to install on Debian 8

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

Re: Unable to install on Debian 8

New Contributor

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 

Don't have an account?
Coming from Hortonworks? Activate your account here