[
http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11778#comment-11778
]
Ivo Ladage - van Doorn edited comment on AMDATUCASSANDRA-114 at 10/18/11 5:00
PM:
----------------------------------------------------------------------------------
The problem is caused by the Fact that Cassandra depends on a java agent to be
configured at JVM startup. So it expects the jamm-0.2.2.jar to be set as
javaagent using the -javaagent option. In our case, the jamm-0.2.2.jar is
contained by the cassandra application jar, but its premain method is never
invoked as it is not detected as being the java agent.
This does resolve the problem, but it not the desired solution:
- remove jamm-0.2.2.jar from the cassandra applicatio njar
- copy the jamm-0.2.2.jar to the amdatu root
- specify -javaagent:jamm-0.2.2.jar as start option when starting Amdatu
- append the org.github.jamm to the boot delegation packages in the
amdatu-platform.properties
See also
http://download.oracle.com/javase/6/docs/api/java/lang/instrument/package-summary.html
was (Author: ivol):
The problem is caused by the Fact that Cassandra depends on a java agent to
be configured at JVM startup. So it expects the jamm-0.2.2.jar to be set as
javaagent using the -javaagent option. In our case, the jamm-0.2.2.jar is
contained by the cassandra application jar, but its premain method is never
invoked as it is not detected as being the java agent.
This does resolve the problem, but it not the desired solution:
- remove jamm-0.2.2.jar from the cassandra applicatio njar
- copy the jamm-0.2.2.jar to the amdatu root
- specify -javaagent:jamm-0.2.2.jar as start option when starting Amdatu
- append the org.github.jamm to the boot delegation packages in the
amdatu-platform.properties
> Lot of "MemoryMeter uninitialized" WARNING messages when starting Cassandra
> on Linux
> ------------------------------------------------------------------------------------
>
> Key: AMDATUCASSANDRA-114
> URL: http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-114
> Project: Amdatu Cassandra
> Issue Type: Bug
> Components: Cassandra daemon
> Affects Versions: 0.2.0
> Reporter: Ivo Ladage - van Doorn
> Fix For: 0.2.1
>
>
> This message appears a lot when Cassandra is started:
> WARNING: MemoryMeter uninitialized (jamm not specified as java agent);
> assuming liveRatio of 10.0. Usually this means cassandra-env.sh disabled
> jamm because you are using a buggy JRE; upgrade to the Sun JRE instead
> [org.amdatu.core.loghandler]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers