Created on 11-21-2014 05:48 PM - edited 09-16-2022 02:14 AM
Hello Cloudera,
I have an installation problem with the latest version of cloudera manager 5.2.0
My CDH5 installation fails on trying to install the cloudera manager agent
I have installed the latest rpm version of the cloudera manager agent on my red hat linux 6.6 yet during install it does not recognise it and keeps asking for it.
To help I have found the same error in "CDH Users Japan". Here is the link
https://groups.google.com/a/cloudera.org/forum/#!topic/cdh-user-jp/pGdGKHnYT0I
Apparently it is an environnement problem. My red hat linux is installed with the french language and I live in France. Also my cloudera manager displays in french.
However the cloudera website is all in English and the cloudera install and yum commands seem to be effected in English. This is why (according to my Japanese colleagues) cloudera manager does not recognise my installed cloudera manager agent (it is recorded and installed in french)
Do you have any ideas on how to align my cloudera installation environment with my french red hat linux distribution ? If this is the problem.
best wishes
francesco
Here is my cloudera log details
/tmp/scm_prepare_node.0TCbcjrM
using SSH_CLIENT to get the SCM hostname: 192.168.1.14 55021 22
opening logging file descriptor
Démarrage du script d'installation…
Acquisition du verrou d'installation…
BEGIN flock 4
END (0)
Détection des privilèges racine…
effective UID is 0
Détection de la distribution…
BEGIN grep Tikanga /etc/redhat-release
END (1)
BEGIN grep 'CentOS release 5' /etc/redhat-release
END (1)
BEGIN grep 'Scientific Linux release 5' /etc/redhat-release
END (1)
BEGIN grep Santiago /etc/redhat-release
END (0)
/etc/redhat-release ==> RHEL 6
Détection de Cloudera Manager Server…
BEGIN host -t PTR 192.168.1.14
Red Hat Enterprise Linux Workstation release 6.6 (Santiago)
END (1)
Host 14.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
BEGIN which python
END (0)
BEGIN python -c 'import socket; import sys; s = socket.socket(socket.AF_INET); s.settimeout(5.0); s.connect((sys.argv[1], int(sys.argv[2]))); s.close();' 192.168.1.14 7182
/usr/bin/python
END (0)
BEGIN which wget
END (0)
/usr/bin/wget
BEGIN wget -qO- -T 1 -t 1 http://169.254.169.254/latest/meta-data/public-hostname && /bin/echo
END (4)
Installation des référentiels de packages…
validating format of repository file /tmp/scm_prepare_node.0TCbcjrM/repos/rhel6/cloudera-manager.repo
installing repository file /tmp/scm_prepare_node.0TCbcjrM/repos/rhel6/cloudera-manager.repo
repository file /tmp/scm_prepare_node.0TCbcjrM/repos/rhel6/cloudera-manager.repo installed
Actualisation des métadonnées du package...
BEGIN yum clean all
Modules complémentaires chargés : product-id, refresh-packagekit, rhnplugin,
: security, subscription-manager
Nettoyage des dépôts : adobe-linux-x86_64 cloudera-manager
: rhel-x86_64-workstation-6
Nettoyage complet
END (0)
BEGIN rm -Rf /var/cache/yum/x86_64
END (0)
BEGIN yum makecache
Modules complémentaires chargés : product-id, refresh-packagekit, rhnplugin,
: security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Cache des méta données créé
END (0)
Installation du package jdk…
BEGIN yum list installed jdk
Modules complémentaires chargés : product-id, refresh-packagekit, rhnplugin,
: security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Paquets installés
jdk.x86_64 2000:1.6.0_31-fcs @Cloudera-manager
END (0)
BEGIN echo jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons | grep jdk
jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons
END (0)
BEGIN yum info jdk
Modules complémentaires chargés : product-id, refresh-packagekit, rhnplugin,
: security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Paquets installés
Nom : jdk
Architecture : x86_64
Date : 2000
Version : 1.6.0_31
Révision : fcs
Taille : 143 M
Dépôt : installed
Depuis le dépôt : cloudera-manager
Résumé : Java(TM) Platform Standard Edition Development Kit
URL : http://java.sun.com/
Licence : Copyright (c) 2011, Oracle and/or its affiliates. All rights
: reserved. Also under other license(s) as shown at the
: Description field.
Description : The Java Platform Standard Edition Development Kit (JDK) includes
: both the runtime environment (Java virtual machine, the Java
: platform classes and supporting files) and development tools
: (compilers, debuggers, tool libraries and other tools).
:
: The JDK is a development environment for building applications,
: applets and components that can be deployed with the Java Platform
: Standard Edition Runtime Environment.
END (0)
BEGIN yum -y install jdk.x86_64
Modules complémentaires chargés : product-id, refresh-packagekit, rhnplugin,
: security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Configuration du processus d'installation
Le paquet 2000:jdk-1.6.0_31-fcs.x86_64 est déjà installé dans sa dernière version
Rien à faire
END (0)
remote package jdk installed
Installation du package oracle-j2sdk1.7…
BEGIN yum list installed oracle-j2sdk1.7
Modules complémentaires chargés : product-id, refresh-packagekit, rhnplugin,
: security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Paquets installés
oracle-j2sdk1.7.x86_64 1.7.0+update67-1 @Cloudera-manager
END (0)
BEGIN echo jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons | grep oracle-j2sdk1.7
jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons
END (0)
BEGIN yum info oracle-j2sdk1.7
Modules complémentaires chargés : product-id, refresh-packagekit, rhnplugin,
: security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Paquets installés
Nom : oracle-j2sdk1.7
Architecture : x86_64
Version : 1.7.0+update67
Révision : 1
Taille : 279 M
Dépôt : installed
Depuis le dépôt : cloudera-manager
Résumé : no description given
URL : http://example.com/no-uri-given
Licence : unknown
Description : no description given
END (0)
BEGIN yum -y install oracle-j2sdk1.7.x86_64
Modules complémentaires chargés : product-id, refresh-packagekit, rhnplugin,
: security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Configuration du processus d'installation
Le paquet oracle-j2sdk1.7-1.7.0+update67-1.x86_64 est déjà installé dans sa dernière version
Rien à faire
END (0)
remote package oracle-j2sdk1.7 installed
Installation du package cloudera-manager-agent…
BEGIN yum list installed cloudera-manager-agent
Modules complémentaires chargés : product-id, refresh-packagekit, rhnplugin,
: security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Paquets installés
cloudera-manager-agent.x86_64 5.2.0-1.cm520.p0.60.el6 installed
END (0)
BEGIN echo jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons | grep cloudera-manager-agent
END (0)
jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons
BEGIN yum info cloudera-manager-agent
Modules complémentaires chargés : product-id, refresh-packagekit, rhnplugin,
: security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Paquets installés
Nom : cloudera-manager-agent
Architecture : x86_64
Version : 5.2.0
Révision : 1.cm520.p0.60.el6
Taille : 27 M
Dépôt : installed
Résumé : The Cloudera Manager Agent
URL : http://www.cloudera.com
Licence : Proprietary
Description : The Cloudera Manager Agent.
:
: The Agent is deployed to machines running services managed by
: Cloudera Manager.
END (0)
Version : 5.2.0
cloudera-manager-agent must have Version=5.2.0 and Build=60, exiting
closing logging file descriptor
1 2 3 4 5 6
apologies for the cross posting in getting started
Created 02-12-2015 11:05 AM
CLOSE FOR ME
I have solved this install error. CentOS 6.6 must in english langue, so I changed in all system the LANG="fr_FR.UTF-8" to LANG="en_US.UTF-8"
in the file /etc/sysconfig/i18n.
Also, the system need to be clean then :
/usr/share/cmf/uninstall-cloudera-manager.sh
And create a file cleanSlave.sh
#!/bin/bash
rm -vRf /etc/yum.repos.d/cloudera* /etc/cloudera-*
rm -vRf /usr/share/cmf /var/lib/cloudera* /var/cache/yum/cloudera*
rm -vRf /var/log/cloudera-*
yum remove cloudera*
yum clean all
You can run it on the master and after if you have a lot of machine do something like that :
#!/bin/bash
for n in 1 2 3 4 5
do
echo slave$n
ssh root@slave$n 'bash -s' < cleanSlave.sh
done
Created 02-11-2015 11:15 PM
I have the same trouble with Centos-6.6 and cloude manager manager 5.3.1.
The cloudera-manager-agent does not show that cloudera-manager-agent is installed.
I try a instllation with :
Centos-6.6 - cloude manager manager 5.3.1 - target CDH5.3.1
Centos-6.6 - cloude manager manager 5.3.1 - target CDH5.3.0
Centos-6.6 - cloude manager manager 5.2.0 - target CDH5.2.2
I try to install yum install cloudera-manager-agent, but in cloudera-manager, I retry the installation and failed again during cloudera-manager-agent installation phase.
I do not find any error more explicit, only :
Version : 5.3.1
cloudera-manager-agent must have Version=5.3.1 and Build=159, exiting
closing logging file descriptor
Created 02-12-2015 11:05 AM
CLOSE FOR ME
I have solved this install error. CentOS 6.6 must in english langue, so I changed in all system the LANG="fr_FR.UTF-8" to LANG="en_US.UTF-8"
in the file /etc/sysconfig/i18n.
Also, the system need to be clean then :
/usr/share/cmf/uninstall-cloudera-manager.sh
And create a file cleanSlave.sh
#!/bin/bash
rm -vRf /etc/yum.repos.d/cloudera* /etc/cloudera-*
rm -vRf /usr/share/cmf /var/lib/cloudera* /var/cache/yum/cloudera*
rm -vRf /var/log/cloudera-*
yum remove cloudera*
yum clean all
You can run it on the master and after if you have a lot of machine do something like that :
#!/bin/bash
for n in 1 2 3 4 5
do
echo slave$n
ssh root@slave$n 'bash -s' < cleanSlave.sh
done
Created 12-15-2016 01:53 PM
Thanks. That resolved the issue on our environment as well.