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.

cloudera manager 4.6.2 error when trying to add a zookeeper service

Highlighted

cloudera manager 4.6.2 error when trying to add a zookeeper service

New Contributor

Hi all,
    I'm trying to add a zookeeper service, but after I choose the node, an error occurred. What's the problem of this?
Message cannot exceed 20,000 characters.So the full stack trace is here:https://groups.google.com/a/cloudera.org/forum/#!topic/cdh-user/MV2j3SlRXzI

Server Error

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

Path: http://172.16.8.101:7180/cmf/add-service-wizard/autoconfig

Version: Cloudera Standard 4.6.2 (#187 built by jenkins on 20130723-0028 git: 7f9b57e92ff75852ceb9b58f7cfd32fed954fbf7)

javax.persistence.PersistenceException:org.hibernate.exception.ConstraintViolationException: Batch entry 0 insert into SERVICES (OPTIMISTIC_LOCK_VERSION, NAME, DISPLAY_NAME, SERVICE_TYPE, MAINTENANCE_COUNT, CLUSTER_ID, CONFIG_REVISION_ID, SERVICE_ID) values ('0', 'zookeeper1', 'zookeeper1', 'ZOOKEEPER', '0', '1', '62', '33') was aborted. Call getNextException to see the cause.
at AbstractEntityManagerImpl.java line 1377
in org.hibernate.ejb.AbstractEntityManagerImpl convert()
Stack Trace:
  1. AbstractEntityManagerImpl.java line 1377
    in org.hibernate.ejb.AbstractEntityManagerImpl convert()
  2. AbstractEntityManagerImpl.java line 1300
    in org.hibernate.ejb.AbstractEntityManagerImpl convert()
  3. QueryImpl.java line 266
    in org.hibernate.ejb.QueryImpl getResultList()
  4. AbstractWrappedEntityManager.java line 190
    in com.cloudera.enterprise.AbstractWrappedEntityManager findAllEntities()
  5. CmfEntityManager.java line 397
    in com.cloudera.cmf.persist.CmfEntityManager findAllServices()
  6. CmfEntityManager.java line 444
    in com.cloudera.cmf.persist.CmfEntityManager findServicesByType()
  7. MgmtServiceHandler.java line 406
    in com.cloudera.cmf.service.mgmt.MgmtServiceHandler lookupEventServer()
  8. ReusableEventStoreClientFactory.java line 81
    in com.cloudera.cmon.ReusableEventStoreClientFactory lookupEventStoreAddress()
  9. ReusableEventStoreClientFactory.java line 98
    in com.cloudera.cmon.ReusableEventStoreClientFactory updateProxy()
  10. ReusableEventStoreClientFactory.java line 121
    in com.cloudera.cmon.ReusableEventStoreClientFactory getPublishAPI()
  11. OperationsManagerImpl.java line 508
    in com.cloudera.server.cmf.components.OperationsManagerImpl createService()
  12. RulesCluster.java line 548
    in com.cloudera.server.cmf.cluster.RulesCluster createAndConfigureServices()
  13. AbstractAddServiceWizardController.java line 133
    in com.cloudera.server.web.cmf.AbstractAddServiceWizardController createCustomServiceAndRoles()
  14. AbstractAddServiceWizardController.java line 333
    in com.cloudera.server.web.cmf.AbstractAddServiceWizardController wizardAutoConfig()
  15. <generated> line -1
    in com.cloudera.server.web.cmf.AbstractAddServiceWizardController$$FastClassByCGLIB$$d1935cf2 invoke()
  16. MethodProxy.java line 191
    in net.sf.cglib.proxy.MethodProxy invoke()
  17. Cglib2AopProxy.java line 688
    in org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation invokeJoinpoint()
  18. ReflectiveMethodInvocation.java line 150
    in org.springframework.aop.framework.ReflectiveMethodInvocation proceed()
  19. MethodSecurityInterceptor.java line 61
    in org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor invoke()
  20. ReflectiveMethodInvocation.java line 172
    in org.springframework.aop.framework.ReflectiveMethodInvocation proceed()
  21. Cglib2AopProxy.java line 621
    in org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor intercept()
  22. <generated> line -1
    in com.cloudera.server.web.cmf.AddServiceWizardController$$EnhancerByCGLIB$$6536acfa wizardAutoConfig()
  23. line -1
    in sun.reflect.GeneratedMethodAccessor1297 invoke()
  24. DelegatingMethodAccessorImpl.java line 25
    in sun.reflect.DelegatingMethodAccessorImpl invoke()
  25. Method.java line 597
    in java.lang.reflect.Method invoke()
  26. HandlerMethodInvoker.java line 176
    in org.springframework.web.bind.annotation.support.HandlerMethodInvoker invokeHandlerMethod()
  27. AnnotationMethodHandlerAdapter.java line 436
    in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter invokeHandlerMethod()
  28. AnnotationMethodHandlerAdapter.java line 424
    in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter handle()
  29. DispatcherServlet.java line 790
    in org.springframework.web.servlet.DispatcherServlet doDispatch()
  30. DispatcherServlet.java line 719
    in org.springframework.web.servlet.DispatcherServlet doService()
  31. FrameworkServlet.java line 669
    in org.springframework.web.servlet.FrameworkServlet processRequest()
  32. FrameworkServlet.java line 585
    in org.springframework.web.servlet.FrameworkServlet doPost()
  33. HttpServlet.java line 727
    in javax.servlet.http.HttpServlet service()
  34. HttpServlet.java line 820
    in javax.servlet.http.HttpServlet service()
  35. ServletHolder.java line 511
    in org.mortbay.jetty.servlet.ServletHolder handle()
  36. ServletHandler.java line 1221
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  37. UserAgentFilter.java line 78
    in org.mortbay.servlet.UserAgentFilter doFilter()
  38. GzipFilter.java line 131
    in org.mortbay.servlet.GzipFilter doFilter()
  39. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  40. JAMonServletFilter.java line 48
    in com.jamonapi.http.JAMonServletFilter doFilter()
  41. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  42. JavaMelodyFacade.java line 109
    in com.cloudera.enterprise.JavaMelodyFacade$MonitoringFilter doFilter()
  43. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  44. FilterChainProxy.java line 311
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  45. FilterSecurityInterceptor.java line 116
    in org.springframework.security.web.access.intercept.FilterSecurityInterceptor invoke()
  46. FilterSecurityInterceptor.java line 83
    in org.springframework.security.web.access.intercept.FilterSecurityInterceptor doFilter()
  47. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  48. ExceptionTranslationFilter.java line 113
    in org.springframework.security.web.access.ExceptionTranslationFilter doFilter()
  49. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  50. SessionManagementFilter.java line 101
    in org.springframework.security.web.session.SessionManagementFilter doFilter()
  51. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  52. AnonymousAuthenticationFilter.java line 113
    in org.springframework.security.web.authentication.AnonymousAuthenticationFilter doFilter()
  53. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  54. RememberMeAuthenticationFilter.java line 146
    in org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter doFilter()
  55. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  56. SecurityContextHolderAwareRequestFilter.java line 54
    in org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter doFilter()
  57. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  58. RequestCacheAwareFilter.java line 45
    in org.springframework.security.web.savedrequest.RequestCacheAwareFilter doFilter()
  59. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  60. AbstractAuthenticationProcessingFilter.java line 182
    in org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter doFilter()
  61. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  62. LogoutFilter.java line 105
    in org.springframework.security.web.authentication.logout.LogoutFilter doFilter()
  63. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  64. SecurityContextPersistenceFilter.java line 87
    in org.springframework.security.web.context.SecurityContextPersistenceFilter doFilter()
  65. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  66. ConcurrentSessionFilter.java line 125
    in org.springframework.security.web.session.ConcurrentSessionFilter doFilter()
  67. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  68. FilterChainProxy.java line 173
    in org.springframework.security.web.FilterChainProxy doFilter()
  69. DelegatingFilterProxy.java line 237
    in org.springframework.web.filter.DelegatingFilterProxy invokeDelegate()
  70. DelegatingFilterProxy.java line 167
    in org.springframework.web.filter.DelegatingFilterProxy doFilter()
  71. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  72. CharacterEncodingFilter.java line 88
    in org.springframework.web.filter.CharacterEncodingFilter doFilterInternal()
  73. OncePerRequestFilter.java line 76
    in org.springframework.web.filter.OncePerRequestFilter doFilter()
  74. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  75. ServletHandler.java line 399
    in org.mortbay.jetty.servlet.ServletHandler handle()
  76. SecurityHandler.java line 216
    in org.mortbay.jetty.security.SecurityHandler handle()
  77. SessionHandler.java line 182
    in org.mortbay.jetty.servlet.SessionHandler handle()
  78. ContextHandler.java line 766
    in org.mortbay.jetty.handler.ContextHandler handle()
  79. WebAppContext.java line 450
    in org.mortbay.jetty.webapp.WebAppContext handle()
  80. HandlerWrapper.java line 152
    in org.mortbay.jetty.handler.HandlerWrapper handle()
  81. StatisticsHandler.java line 53
    in org.mortbay.jetty.handler.StatisticsHandler handle()
  82. HandlerWrapper.java line 152
    in org.mortbay.jetty.handler.HandlerWrapper handle()
  83. Server.java line 326
    in org.mortbay.jetty.Server handle()
  84. HttpConnection.java line 542
    in org.mortbay.jetty.HttpConnection handleRequest()
  85. HttpConnection.java line 945
    in org.mortbay.jetty.HttpConnection$RequestHandler content()
  86. HttpParser.java line 756
    in org.mortbay.jetty.HttpParser parseNext()
  87. HttpParser.java line 218
    in org.mortbay.jetty.HttpParser parseAvailable()
  88. HttpConnection.java line 404
    in org.mortbay.jetty.HttpConnection handle()
  89. SelectChannelEndPoint.java line 410
    in org.mortbay.io.nio.SelectChannelEndPoint run()
  90. QueuedThreadPool.java line 582
    in org.mortbay.thread.QueuedThreadPool$PoolThread run()
 
2 REPLIES 2

Re: cloudera manager 4.6.2 error when trying to add a zookeeper service

Rising Star

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

 


Has the information been sent? 

Re: cloudera manager 4.6.2 error when trying to add a zookeeper service

Master Collaborator

@ooyama:  I thnk what dvohra is trying to say is can you see what's inside the following file?

 

http://172.16.8.101:7180/cmf/add-service-wizard/autoconfig

 

Is there anything more useful in there indicating the nature of the problem?  Also, have you already installed CDH on the host in question?  Normally during the initial setup of CM, you'll get a Services Install Wizard that will let you choose either "Core Hadoop..." or other groups of products and Zookeeper would be automatically installed along with those packages if you used the wizard.