Answer
Visitor
Posts: 4
Registered: ‎07-23-2018
Cloudera-scm-server exception when upgrading to CDH6.0.0 from CDH 5.14.2

I am trying to upgrade a CDH 5.14.2 cluster to CDH6.0.0 and I get a cloudera-scm-server exception: 

Caused by: java.io.FileNotFoundException: /usr/share/cmf/common_jars/xercesImpl-2.10.0.jar (No such file or directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:103)
at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:99)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:152)
at java.net.URL.openStream(URL.java:1045)
at java.util.ServiceLoader.parse(ServiceLoader.java:304)

 

My repo: 

# cat /etc/yum.repos.d/cdh.repo

[cloudera-manager]

# Packages for Cloudera Manager, Version 6, on RedHat or CentOS 7 x86_64

name=Cloudera Manager

baseurl=https://archive.cloudera.com/cm6/6.0.0-beta1/redhat7/yum/

gpgkey =https://archive.cloudera.com/cm6/6.0.0-beta1/redhat7/yum/RPM-GPG-KEY-cloudera

gpgcheck = 0

 

My steps:

  1. service cloudera-scm-agent stop
  2. yum clean all

  3. yum upgrade -y cloudera-manager-agent cloudera-manager-daemons

  4. yum upgrade -y cloudera-manager-server

  5. service cloudera-scm-server restart

  6. service cloudera-scm-agent restart

Other Answers: 1
Cloudera Employee
Posts: 13
Registered: ‎04-21-2016
Answered

CM 6 does not use or refer to /usr/share/cmf/ anymore.  So the fact you're seeing this may indicate

a package instalation problem - this directory in fact should not exist anymore.

 

Please check to see your RPM database to ensure that CM 6 packages are installed and no other packages are 

installer.

 

Since this is RHEL 7,  your should not be using "service" to start/stop services - use systemctl instead as per the documentation.

 

Furthermore, verify that no pre CM 6 init scripts (e.g. /etc/init.d/cloudera-scm-server) exist.