Member since
05-31-2016
4
Posts
1
Kudos Received
0
Solutions
06-15-2016
05:43 AM
1 Kudo
Hi All, I have enabled kerberos in my cloudera cluster using Cloudera Manager. Kerberized cluster is running fine. But missing Keytab files under /var/run/cloudera-scm-agent/process/ Where else i can get the keytab files ?
... View more
Labels:
- Labels:
-
Cloudera Manager
-
Kerberos
06-07-2016
07:34 AM
Great..! That worked... I just cleaned up the database (Removed the SCHEMA_VERSION table ) and now Cloudera-scm-server is up and runnng. Cloudera-scm-agent failed because the port number used by another service. I have killed the service and restarted the agent. Thanks a lot bgooley
... View more
05-31-2016
02:13 AM
Hi friends, I got stuck while installing cloudera path B using parcels 5.6 with external database(oracle). Please help me. cloudera-scm-agent and cloudera-scm-server failed after started. > service cloudera-scm-agent status cloudera-scm-agent dead but pid file exists > service cloudera-scm-server status cloudera-scm-server dead but pid file exists Log files below -------------------- /var/log/cloudera-scm-server/cloudera-scm-server.log 2016-05-31 03:30:15,156 INFO main:com.cloudera.enterprise.CommonMain: Statistics not enabled, JMX will not be registered 2016-05-31 03:30:15,357 WARN main:org.hibernate.engine.jdbc.spi.SqlExceptionHelper: SQL Error: 942, SQLState: 42000 2016-05-31 03:30:15,357 ERROR main:org.hibernate.engine.jdbc.spi.SqlExceptionHelper: ORA-00942: table or view does not exist 2016-05-31 03:30:15,358 WARN main:com.cloudera.server.cmf.bootstrap.EntityManagerFactoryBean: Failed to determine prior version, assuming no upgrade: org.hibernate.exception.SQLGrammarException: could not extract ResultSet 2016-05-31 03:30:15,409 INFO main:com.cloudera.enterprise.dbutil.DbUtil: Schema version table already exists. 2016-05-31 03:30:15,411 ERROR main:com.cloudera.enterprise.dbutil.DbUtil: Schema version table SCHEMA_VERSION exists but contains no rows. 2016-05-31 03:30:15,413 INFO main:org.springframework.beans.factory.support.DefaultListableBeanFactory: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@131ef10: defining beans [commandLineConfigurationBean,entityManagerFactoryBean,com.cloudera.server.cmf.TrialState,com.cloudera.server.cmf.TrialManager,com.cloudera.cmf.crypto.LicenseLoader]; root of factory hierarchy 2016-05-31 03:30:15,414 ERROR main:com.cloudera.server.cmf.Main: Server failed. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.cloudera.server.cmf.TrialState': Cannot resolve reference to bean 'entityManagerFactoryBean' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactoryBean': FactoryBean threw exception on object creation; nested exception is java.sql.SQLException: Schema version table SCHEMA_VERSION exists but contains no rows. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:616) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at com.cloudera.server.cmf.Main.bootstrapSpringContext(Main.java:370) at com.cloudera.server.cmf.Main.<init>(Main.java:230) at com.cloudera.server.cmf.Main.main(Main.java:204) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactoryBean': FactoryBean threw exception on object creation; nested exception is java.sql.SQLException: Schema version table SCHEMA_VERSION exists but contains no rows. at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149) ----------------------------------------------------------------------------------------------------------------------------------------- /var/log/cloudera-scm-agent/cloudera-scm-agent.log [31/May/2016 03:39:15 +0000] 16637 MainThread agent ERROR Heartbeating to lab1.cloudera.net:7182 failed. Traceback (most recent call last): File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 1072, in send_heartbeat self.master_port) File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 469, in __init__ self.conn.connect() File "/usr/lib64/python2.6/httplib.py", line 720, in connect self.timeout) File "/usr/lib64/python2.6/socket.py", line 567, in create_connection raise error, msg error: [Errno 111] Connection refused -------------------------------------------------------------------------------------------------
... View more