Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

Error in service installing

Contributor

I'm installing Cloudera Manager 5.02 and encounter errors when installing services.

 

#########Error Info#############

 

A server error has occurred. Send the following information to Cloudera.

Path: http://192.168.28.40:7180/cmf/clusters/1/express-add-services/review

Version: Cloudera Express 5.0.2 (#297 built by jenkins on 20140606-2221 git: 80907df78ba6b50c21a598f0caff8b00685d5961)

java.lang.IllegalArgumentException:Host 093bced7-b29f-4716-8a60-8f209ac4d8d6 may not join service 'oozie': Host software version incompatible with service version
at OperationsManagerImpl.java line 760
in com.cloudera.server.cmf.components.OperationsManagerImpl createRole()
 Stack Trace:
  1. OperationsManagerImpl.java line 760
    in com.cloudera.server.cmf.components.OperationsManagerImpl createRole()
  2. RulesCluster.java line 586
    in com.cloudera.server.cmf.cluster.RulesCluster createAndConfigureServices()
  3. ExpressAddServicesWizardController.java line 585
    in com.cloudera.server.web.cmf.wizard.express.ExpressAddServicesWizardController buildCustomCluster()
  4. ExpressAddServicesWizardController.java line 521
    in com.cloudera.server.web.cmf.wizard.express.ExpressAddServicesWizardController buildCluster()
  5. ExpressAddServicesWizardController.java line 492
    in com.cloudera.server.web.cmf.wizard.express.ExpressAddServicesWizardController buildAccs()
  6. ExpressAddServicesWizardController.java line 433
    in com.cloudera.server.web.cmf.wizard.express.ExpressAddServicesWizardController handleReview()
  7. ExpressAddServicesWizardController.java line 405
    in com.cloudera.server.web.cmf.wizard.express.ExpressAddServicesWizardController renderReviewStep()
  8. <generated> line -1
    in com.cloudera.server.web.cmf.wizard.express.ExpressAddServicesWizardController$$FastClassByCGLIB$$71adc282 invoke()
  9. MethodProxy.java line 191
    in net.sf.cglib.proxy.MethodProxy invoke()
  10. Cglib2AopProxy.java line 688
    in org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation invokeJoinpoint()
  11. ReflectiveMethodInvocation.java line 150
    in org.springframework.aop.framework.ReflectiveMethodInvocation proceed()
  12. MethodSecurityInterceptor.java line 61
    in org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor invoke()
  13. ReflectiveMethodInvocation.java line 172
    in org.springframework.aop.framework.ReflectiveMethodInvocation proceed()
  14. Cglib2AopProxy.java line 621
    in org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor intercept()
  15. <generated> line -1
    in com.cloudera.server.web.cmf.wizard.express.ExpressAddServicesWizardController$$EnhancerByCGLIB$$26be3314 renderReviewStep()
  16. NativeMethodAccessorImpl.java line -2
    in sun.reflect.NativeMethodAccessorImpl invoke0()
  17. NativeMethodAccessorImpl.java line 57
    in sun.reflect.NativeMethodAccessorImpl invoke()
  18. DelegatingMethodAccessorImpl.java line 43
    in sun.reflect.DelegatingMethodAccessorImpl invoke()
  19. Method.java line 606
    in java.lang.reflect.Method invoke()
  20. HandlerMethodInvoker.java line 176
    in org.springframework.web.bind.annotation.support.HandlerMethodInvoker invokeHandlerMethod()
  21. AnnotationMethodHandlerAdapter.java line 436
    in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter invokeHandlerMethod()
  22. AnnotationMethodHandlerAdapter.java line 424
    in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter handle()
  23. DispatcherServlet.java line 790
    in org.springframework.web.servlet.DispatcherServlet doDispatch()
  24. DispatcherServlet.java line 719
    in org.springframework.web.servlet.DispatcherServlet doService()
  25. FrameworkServlet.java line 669
    in org.springframework.web.servlet.FrameworkServlet processRequest()
  26. FrameworkServlet.java line 574
    in org.springframework.web.servlet.FrameworkServlet doGet()
  27. HttpServlet.java line 575
    in javax.servlet.http.HttpServlet service()
  28. HttpServlet.java line 668
    in javax.servlet.http.HttpServlet service()
  29. ServletHolder.java line 511
    in org.mortbay.jetty.servlet.ServletHolder handle()
  30. ServletHandler.java line 1221
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  31. UserAgentFilter.java line 78
    in org.mortbay.servlet.UserAgentFilter doFilter()
  32. GzipFilter.java line 131
    in org.mortbay.servlet.GzipFilter doFilter()
  33. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  34. JAMonServletFilter.java line 48
    in com.jamonapi.http.JAMonServletFilter doFilter()
  35. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  36. JavaMelodyFacade.java line 109
    in com.cloudera.enterprise.JavaMelodyFacade$MonitoringFilter doFilter()
  37. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  38. FilterChainProxy.java line 311
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  39. FilterSecurityInterceptor.java line 116
    in org.springframework.security.web.access.intercept.FilterSecurityInterceptor invoke()
  40. FilterSecurityInterceptor.java line 83
    in org.springframework.security.web.access.intercept.FilterSecurityInterceptor doFilter()
  41. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  42. ExceptionTranslationFilter.java line 113
    in org.springframework.security.web.access.ExceptionTranslationFilter doFilter()
  43. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  44. SessionManagementFilter.java line 101
    in org.springframework.security.web.session.SessionManagementFilter doFilter()
  45. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  46. AnonymousAuthenticationFilter.java line 113
    in org.springframework.security.web.authentication.AnonymousAuthenticationFilter doFilter()
  47. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  48. RememberMeAuthenticationFilter.java line 146
    in org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter doFilter()
  49. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  50. SecurityContextHolderAwareRequestFilter.java line 54
    in org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter doFilter()
  51. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  52. RequestCacheAwareFilter.java line 45
    in org.springframework.security.web.savedrequest.RequestCacheAwareFilter doFilter()
  53. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  54. AbstractAuthenticationProcessingFilter.java line 182
    in org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter doFilter()
  55. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  56. LogoutFilter.java line 105
    in org.springframework.security.web.authentication.logout.LogoutFilter doFilter()
  57. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  58. SecurityContextPersistenceFilter.java line 87
    in org.springframework.security.web.context.SecurityContextPersistenceFilter doFilter()
  59. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  60. ConcurrentSessionFilter.java line 125
    in org.springframework.security.web.session.ConcurrentSessionFilter doFilter()
  61. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  62. FilterChainProxy.java line 173
    in org.springframework.security.web.FilterChainProxy doFilter()
  63. DelegatingFilterProxy.java line 237
    in org.springframework.web.filter.DelegatingFilterProxy invokeDelegate()
  64. DelegatingFilterProxy.java line 167
    in org.springframework.web.filter.DelegatingFilterProxy doFilter()
  65. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  66. CharacterEncodingFilter.java line 88
    in org.springframework.web.filter.CharacterEncodingFilter doFilterInternal()
  67. OncePerRequestFilter.java line 76
    in org.springframework.web.filter.OncePerRequestFilter doFilter()
  68. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  69. ServletHandler.java line 399
    in org.mortbay.jetty.servlet.ServletHandler handle()
  70. SecurityHandler.java line 216
    in org.mortbay.jetty.security.SecurityHandler handle()
  71. SessionHandler.java line 182
    in org.mortbay.jetty.servlet.SessionHandler handle()
  72. SecurityHandler.java line 216
    in org.mortbay.jetty.security.SecurityHandler handle()
  73. ContextHandler.java line 766
    in org.mortbay.jetty.handler.ContextHandler handle()
  74. WebAppContext.java line 450
    in org.mortbay.jetty.webapp.WebAppContext handle()
  75. HandlerWrapper.java line 152
    in org.mortbay.jetty.handler.HandlerWrapper handle()
  76. StatisticsHandler.java line 53
    in org.mortbay.jetty.handler.StatisticsHandler handle()
  77. HandlerWrapper.java line 152
    in org.mortbay.jetty.handler.HandlerWrapper handle()
  78. Server.java line 326
    in org.mortbay.jetty.Server handle()
  79. HttpConnection.java line 542
    in org.mortbay.jetty.HttpConnection handleRequest()
  80. HttpConnection.java line 928
    in org.mortbay.jetty.HttpConnection$RequestHandler headerComplete()
  81. HttpParser.java line 549
    in org.mortbay.jetty.HttpParser parseNext()
  82. HttpParser.java line 212
    in org.mortbay.jetty.HttpParser parseAvailable()
  83. HttpConnection.java line 404
    in org.mortbay.jetty.HttpConnection handle()
  84. SelectChannelEndPoint.java line 410
    in org.mortbay.io.nio.SelectChannelEndPoint run()
  85. QueuedThreadPool.java line 582
    in org.mortbay.thread.QueuedThreadPool$PoolThread run()
1 ACCEPTED SOLUTION

Contributor
Thanks for your patient help. I solve this problem finally.

It's the problem of repository. There are both CDH4 and CDH5 repo files exist in the /etc/yum.repos.d. After I remove all CDH4 repo files, yum can find CDH5 version.

View solution in original post

17 REPLIES 17

This usually happens when you have manually installed CDH, but picked the wrong CDH version in the CM UI.

Exit the wizard (click the Cloudera Manager logo), click the Hosts tab, and run the Host Inspector. It should say what versions of CDH are installed. If those are incorrect, fix them.

Then run the Add Cluster wizard again (if you see an empty cluster on the home page, you may need to delete that cluster first), and be sure to pick the correct major CDH version.

Thanks,
Darren

Contributor

Here is the result of Inspector.

Should I reinstall the CDH?

 

######################################

Component Version Release CDH Version

Parquet1.2.5+cdh5.0.3+971.cdh5.0.3.p0.22CDH 5
Impala1.3.1+cdh5.0.3+01.cdh5.0.3.p0.24CDH 5
YARN2.3.0+cdh5.0.3+5971.cdh5.0.3.p0.30CDH 5
HDFS2.3.0+cdh5.0.3+5971.cdh5.0.3.p0.30CDH 5
hue-common3.5.0+cdh5.0.3+3811.cdh5.0.3.p0.18CDH 5
Sqoop21.99.3+cdh5.0.3+321.cdh5.0.3.p0.14CDH 5
MapReduce 22.3.0+cdh5.0.3+5971.cdh5.0.3.p0.30CDH 5
HBase0.96.1.1+cdh5.0.3+781.cdh5.0.3.p0.22CDH 5
Sqoop1.4.4+cdh5.0.3+501.cdh5.0.3.p0.14CDH 5
Oozie4.0.0+cdh5.0.3+1851.cdh5.0.3.p0.17CDH 5
Zookeeper3.4.5+261.cdh4.7.0.p0.17CDH 4
Hue3.5.0+cdh5.0.3+3811.cdh5.0.3.p0.18CDH 5
Lily HBase Indexer1.3+261.cdh4.5.0.p0.14CDH 4
MapReduce 12.3.0+cdh5.0.3+5971.cdh5.0.3.p0.30CDH 5
Pig0.12.0+cdh5.0.3+361.cdh5.0.3.p0.18CDH 5
Crunch (CDH 5 only)0.9.0+cdh5.0.3+271.cdh5.0.3.p0.20CDH 5
Llama (CDH 5 only)1.0.0+cdh5.0.3+01.cdh5.0.3.p0.23CDH 5
HttpFS2.3.0+cdh5.0.3+5971.cdh5.0.3.p0.30CDH 5
Hadoop2.3.0+cdh5.0.3+5971.cdh5.0.3.p0.30CDH 5
Hive0.12.0+cdh5.0.3+3221.cdh5.0.3.p0.22CDH 5
HCatalog0.12.0+cdh5.0.3+3221.cdh5.0.3.p0.22CDH 5
spark0.9.0+cdh5.0.3+381.cdh5.0.3.p0.21CDH 5
Solr4.4.0+1811.cdh4.5.0.p0.14CDH 4
Flume NG1.4.0+981.cdh4.7.0.p0.17CDH 4
Cloudera Manager Management Daemons5.0.21.cm502.p0.297Not applicable
Java 6java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b04) Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)UnavailableNot applicable
Java 7java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)UnavailableNot applicable
Cloudera Manager Agent5.0.21.cm502.p0.297.el5Not applicable

Contributor

I uninstall CM and CDH following the guide

 

http://cloudera.com/content/cloudera-content/cloudera-docs/CM5/latest/Cloudera-Manager-Quick-Start/C...

 

Then I reinstall CM. However, it still doesn't work.

Hi Sky,

Host inspector showed that you had inconsistent versions of CDH installed.

Log in to each machine and consult the package manager (such as yum for rhel-based systems) to ensure these were all correctly removed, or are the correct version. If you are using Parcels to install CDH (which is recommended), then you should have no CDH packages installed on your operating system.

Thanks,
Darren

Contributor

I uninstall CM and CDH again following the guide I posted before, and then reinstall CM.

 

However the error happened again.

 

Here is the result of host inspector.

The version of oozie is CDH5 now.

 

 

############################

component       Version Release CDH Version
Parquet 1.2.5+cdh5.1.0+130      1.cdh5.1.0.p0.26        CDH 5
Impala  1.4.0+cdh5.1.0+0        1.cdh5.1.0.p0.92        CDH 5
YARN    2.3.0+cdh5.1.0+795      1.cdh5.1.0.p0.58        CDH 5
HDFS    2.3.0+cdh5.1.0+795      1.cdh5.1.0.p0.58        CDH 5
hue-common      3.6.0+cdh5.1.0+86       1.cdh5.1.0.p0.36        CDH 5
Sqoop2  1.99.3+cdh5.1.0+26      1.cdh5.1.0.p0.22        CDH 5
MapReduce 2     2.3.0+cdh5.1.0+795      1.cdh5.1.0.p0.58        CDH 5
HBase   0.98.1+cdh5.1.0+64      1.cdh5.1.0.p0.34        CDH 5
Sqoop   1.4.4+cdh5.1.0+55       1.cdh5.1.0.p0.24        CDH 5
Oozie   4.0.0+cdh5.1.0+249      1.cdh5.1.0.p0.28        CDH 5
Zookeeper       3.4.5+26        1.cdh4.7.0.p0.17        CDH 4
Hue     3.6.0+cdh5.1.0+86       1.cdh5.1.0.p0.36        CDH 5
spark   1.0.0+cdh5.1.0+41       1.cdh5.1.0.p0.27        CDH 5
MapReduce 1     2.3.0+cdh5.1.0+795      1.cdh5.1.0.p0.58        CDH 5
Pig     0.12.0+cdh5.1.0+33      1.cdh5.1.0.p0.23        CDH 5
Crunch (CDH 5 only)     0.10.0+cdh5.1.0+14      1.cdh5.1.0.p0.25        CDH 5
Llama (CDH 5 only)      1.0.0+cdh5.1.0+0        1.cdh5.1.0.p0.25        CDH 5
HttpFS  2.3.0+cdh5.1.0+795      1.cdh5.1.0.p0.58        CDH 5
Hadoop  2.3.0+cdh5.1.0+795      1.cdh5.1.0.p0.58        CDH 5
Hive    0.12.0+cdh5.1.0+369     1.cdh5.1.0.p0.39        CDH 5
HCatalog        0.12.0+cdh5.1.0+369     1.cdh5.1.0.p0.39        CDH 5
sentry  1.3.0+cdh5.1.0+155      1.cdh5.1.0.p0.59        CDH 5
Lily HBase Indexer      1.5+cdh5.1.0+12 1.cdh5.1.0.p0.41        CDH 5
Solr    4.4.0+181       1.cdh4.5.0.p0.14        CDH 4
Flume NG        1.5.0+cdh5.1.0+10       1.cdh5.1.0.p0.26        CDH 5
Cloudera Manager Management Daemons     5.1.0   1.cm510.p0.75   Not applicable
Java 6  java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b04) Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)     Unavailable     Not applicable
Java 7  java version "1.7.0_55" Java(TM) SE Runtime Environment (build 1.7.0_55-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)    Unavailable     Not applicable

 

Super Guru

Try checking the /var/log/cloudera-scm-server/cloudera-scm-server.log files for a WARN message that looks like this:

 

Host %s (derived version %s) not eligible for cluster %s

 

The %s will be replaced with the values generated from the validity check.

 

This should show us what verion was detected on the node and hopefully give us an idea of why the failure is occurring.

Contributor

Here is related WARN info in cloudera-scm-server.log.

 

 

###################

2014-07-18 17:48:35,166  WARN [1836711262@scm-web-14:service.HostUtils@158] Host DbHost{id=3, hostId=1792acd5-c10f-4ae0-b46a-eb1fc1662102, hostName=master} (derived version MIXED) not eligible for cluster DbCluster{id=2, name=cluster}
2014-07-18 17:48:36,054  WARN [1836711262@scm-web-14:service.HostUtils@158] Host DbHost{id=3, hostId=1792acd5-c10f-4ae0-b46a-eb1fc1662102, hostName=master} (derived version MIXED) not eligible for cluster DbCluster{id=2, name=cluster}
2014-07-18 17:56:13,450  WARN [1836711262@scm-web-14:service.HostUtils@158] Host DbHost{id=3, hostId=1792acd5-c10f-4ae0-b46a-eb1fc1662102, hostName=master} (derived version MIXED) not eligible for cluster DbCluster{id=2, name=cluster}
2014-07-18 17:57:23,098  WARN [768616541@scm-web-21:service.HostUtils@158] Host DbHost{id=3, hostId=1792acd5-c10f-4ae0-b46a-eb1fc1662102, hostName=master} (derived version MIXED) not eligible for cluster DbCluster{id=2, name=cluster}
2014-07-18 17:57:23,790  WARN [768616541@scm-web-21:service.HostUtils@158] Host DbHost{id=3, hostId=1792acd5-c10f-4ae0-b46a-eb1fc1662102, hostName=master} (derived version MIXED) not eligible for cluster DbCluster{id=2, name=cluster}
2014-07-18 17:57:28,236  WARN [768616541@scm-web-21:service.HostUtils@158] Host DbHost{id=3, hostId=1792acd5-c10f-4ae0-b46a-eb1fc1662102, hostName=master} (derived version MIXED) not eligible for cluster DbCluster{id=2, name=cluster}
2014-07-18 17:57:46,904  WARN [1836711262@scm-web-14:service.HostUtils@158] Host DbHost{id=3, hostId=1792acd5-c10f-4ae0-b46a-eb1fc1662102, hostName=master} (derived version MIXED) not eligible for cluster DbCluster{id=2, name=cluster}
2014-07-18 17:57:47,518  WARN [1836711262@scm-web-14:service.HostUtils@158] Host DbHost{id=3, hostId=1792acd5-c10f-4ae0-b46a-eb1fc1662102, hostName=master} (derived version MIXED) not eligible for cluster DbCluster{id=2, name=cluster}

The host inspector pretty clearly indicated exactly which components were detected as CDH 4.

For each of these, make sure the old versions were correctly uninstalled. Whatever steps you are following to uninstall is not working, possibly because you are using the wrong steps, and possibly because your package manager is in a weird state not anticipated by the uninstall instructions.

Thanks,
Darren

Contributor

Is there any way I can check whether I uninstall the components correctly after I uninstall the Cloudera Manager?

For example the remaining files?

 

By the way, is it possible that it is the installer's problem? Because my network is under some constraints. Is it possible that the installer use CDH4 package or source when the CDH5 cannot be download?

 

 

What operating system are you using?

Are you installing CDH using parcels or packages?

Cloudera Manager will use whatever binaries you've told it to use. It won't try to install a different CDH version if there's a network issue. If it detects that binaries are already installed, then it will assume you've correctly installed the binaries that you want and skip that step.

In rhel-based systems, you can use "yum" to see what packages are installed. For example:
yum search zookeeper

This is basically how you install and manage any packages on the operating system, and has nothing to do with Cloudera, but just how your operating system works.

That will tell you what packages have names containing "zookeeper" and some basic information about them.

You can then learn more about a specific packages using the info command:
yum info zookeeper

From the info command, pay careful attention to whether the package is installed or not, and what version is installed. You're trying to install CDH 5, so any package that is CDH 4 is wrong. You'll probably find that every package reported by Host Inspector as CDH 4 will also be CDH 4 in your package manager (ie yum).

To uninstall something, use the appropriate command, which for yum is:
yum erase zookeeper

Thanks,
Darren

Contributor

It seems that it's the source of yum's problem.


The output of "yum info hue" is

 

#######

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.btte.net
 * epel: mirrors.hust.edu.cn
 * extras: mirrors.btte.net
 * updates: mirrors.btte.net
Available Packages
Name       : hue
Arch       : x86_64
Version    : 3.6.0+cdh5.1.0+86
Release    : 1.cdh5.1.0.p0.36.el5
Size       : 2.3 k
Repo       : cloudera-cdh5
Summary    : The hue metapackage
URL        : http://github.com/cloudera/hue
License    : ASL 2.0
Description: Hue is a browser-based desktop interface for interacting with Hadoop.
           : It supports a file browser, job tracker interface, cluster health monitor, and more.

 

 

However "yum info zookeeper" is

 

##############

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.btte.net
 * epel: mirrors.hust.edu.cn
 * extras: mirrors.btte.net
 * updates: mirrors.btte.net
Available Packages
Name       : zookeeper
Arch       : x86_64
Version    : 3.4.5+26
Release    : 1.cdh4.7.0.p0.17.el5
Size       : 3.9 M
Repo       : cloudera-cdh4
Summary    : A high-performance coordination service for distributed applications.
URL        : http://zookeeper.apache.org/
License    : APL2
Description: ZooKeeper is a centralized service for maintaining configuration information,
           : naming, providing distributed synchronization, and providing group services.
           : All of these kinds of services are used in some form or another by distributed
           : applications. Each time they are implemented there is a lot of work that goes
           : into fixing the bugs and race conditions that are inevitable. Because of the
           : difficulty of implementing these kinds of services, applications initially
           : usually skimp on them ,which make them brittle in the presence of change and
           : difficult to manage. Even when done correctly, different implementations of these services lead to
           : management complexity when the applications are deployed.

Your yum info zookeeper shows that the packages is available, not installed (that's "Available Packages" means).

Was there more text from "yum info zookeeper" other than what you included here? yum can list both available and installed packages.

Does /usr/lib/zookeeper exist? It should not, if zookeeper is not installed. If it exists, what does the file /usr/lib/zookeeper/cloudera/cdh_version.properties say? If these exist, but yum doesn't think zookeeper is installed, then your machine somehow got put into a bad state where files exist for packages that are not installed, and you'll need to figure out how you got into that state and how best to fix it. Or reformat the thing, if you can.

Before doing anything drastic, make sure that both yum and rpm think the package isn't installed. You can learn more about these tools elsewhere (I'm not an expert here anyway).

Thanks,
Darren

Contributor
"/usr/lib/zookeeper" doesn't exist, so I think zookeeper has been completely uninstalled.

All text from "yum info zookeeper" is shown, which means that the only available version of zookeeper is CDH4 for my yum.
I think that maybe the problem.

However, the CDH5 version of other components are available except zookeeper and solr.

How are you installing CDH 5? Manually? Via CM wizard?

Are you using packages or parcels?

What repository are you using for packages / parcels?

It is very strange that you have some cdh5 packages but not zookeeper or solr.

You should try running Host Inspector when you think everything in CDH has been uninstalled to ensure that CM agrees it is all uninstalled.

Contributor
Thanks for your patient help. I solve this problem finally.

It's the problem of repository. There are both CDH4 and CDH5 repo files exist in the /etc/yum.repos.d. After I remove all CDH4 repo files, yum can find CDH5 version.

Super Collaborator

What distribution/version of linux are you installing on?

 

We need to look at actual packages installed on your system.  The examples below assume you are  on a RHEL variant, adjust for debian as necessary. 

 

Can you please provide the following:

 

rpm -qa | grep -i hadoop

rpm -qa | grep -i hue

rpm -qa | grep -i zookeeper

rpm -qa | grep -i hive

rpm -qa | grep -i cloudera

 

When we are saying "uninstall" we are saying "remove the packages" for For CM/CDH so that you can properly do a parcel based install.  Can you please share the URL from our documentation that you are following to uninstall/install as well.


Thanks

Todd

 

Contributor

Hi,

Can help you

 http://www.cloudera.com/content/support/en/downloads/cloudera_manager/cm-5-1-0.html

 Cloudera Manager Installation Guide.pdf - check uninstall guide

  you need to record the paths which you install the CDH