Support Questions
Find answers, ask questions, and share your expertise

Error in service installing


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.


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

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



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:
 * epel:
 * extras:
 * updates:
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        :
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:
 * epel:
 * extras:
 * updates:
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        :
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/ 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).


"/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.

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

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.






Can help you

 Cloudera Manager Installation Guide.pdf - check uninstall guide

  you need to record the paths which you install the CDH