Created on 09-02-2015 01:14 AM - last edited on 11-08-2016 08:46 AM by cjervis
Hi,
On both of our CDM5.4 & 5.3 installation the Event Server fails to start. Looking at the log I see the following:
2015-08-20 06:06:08,729 WARN com.cloudera.cmf.event.publish.EventStorePublisherWithRetry: Failed to publish event: SimpleEvent{attributes={ROLE_TYPE=[EVENTSERVER], CATEGORY=[LOG_MESSAGE], ROLE=[mgmt-EVENTSERVER-e1999db7de4fe4b7c2c57898304d3380], SEVERITY=[IMPORTANT], SERVICE=[mgmt], HOST_IDS=[96352548-2978-4364-9db5-8dc03ea649d9], SERVICE_TYPE=[MGMT], LOG_LEVEL=[WARN], HOSTS=[sdlc6407.labs.teradata.com], EVENTCODE=[EV_LOG_EVENT]}, content=Category SERVICE is not ROLE for input role type KMS-KMS., timestamp=1440075968044}
Is there something I've not done correctly in the installation of these two managers? I've looked on the forum and see no other topic that's similiar.
Any advice welcome
Steve
Created 09-09-2015 11:05 PM
Hi,
You can assign it more memory through the "Configuration" page.
Click on Cloudera Management Service -> Configuration -> Select "Event Server" on the filters on the left.
Add "heap" to the search box at the top of the filters. You should see "Java Heap Size of Event Server in bytes" as a configuration option.
Try increasing it to 512MB or 1GB.
It would be nice to get an idea of the whole log, to see what its doing that led it to run out of memory.
Created 09-02-2015 01:20 AM
I'm also seeing this on the stdout. Looks like its out of memory. Any idea how to assign it more memory?
# # java.lang.OutOfMemoryError: Java heap space # -XX:OnOutOfMemoryError="/usr/lib64/cmf/service/common/killparent.sh" # Executing /bin/sh -c "/usr/lib64/cmf/service/common/killparent.sh"... Thu Aug 20 08:08:15 PDT 2015 JAVA_HOME=/usr/java/jdk1.7.0_67-cloudera Executing: /usr/java/jdk1.7.0_67-cloudera/bin/java -server -XX:+UseConcMarkSweepGC -XX:-CMSConcurrentMTEnabled -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-EVENTSERVER-sdlc6407.labs.teradata.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Xms52428800 -Xmx52428800 -XX:OnOutOfMemoryError=/usr/lib64/cmf/service/common/killparent.sh -cp /var/run/cloudera-scm-agent/process/352-cloudera-mgmt-EVENTSERVER:/usr/share/java/mysql-connector-java.jar:/usr/share/cmf/lib/postgresql-9.0-801.jdbc4.jar:/usr/share/java/oracle-connector-java.jar:/usr/share/cmf/lib/* com.cloudera.cmf.eventcatcher.server.EventCatcherService #
Created 09-09-2015 03:51 AM
Anyone?
Created 09-09-2015 11:05 PM
Hi,
You can assign it more memory through the "Configuration" page.
Click on Cloudera Management Service -> Configuration -> Select "Event Server" on the filters on the left.
Add "heap" to the search box at the top of the filters. You should see "Java Heap Size of Event Server in bytes" as a configuration option.
Try increasing it to 512MB or 1GB.
It would be nice to get an idea of the whole log, to see what its doing that led it to run out of memory.
Created 09-10-2015 12:31 AM
Hi,
Yes I done this yesterday after not finding any suggestion on the web. This has fixed the issue but I've no idea why what I assume to be the default configuration should cause the Event Server to fail.
Cheers
Steve
Created 12-23-2015 07:39 PM
Created 12-23-2015 11:07 PM
It may be the cause of the failure is not an OutOfMemoryError excpetions. I believe you solved the issue in another post by opening up permissions in /var/ as the event server files could not be created. If not, let us know.
Created 12-23-2015 11:14 PM
yes, it's been solved, please close this one, thanks
Created 01-28-2019 01:48 AM
what is the solution for this issue?