You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Malaka Mahanama (JIRA)" <ji...@apache.org> on 2014/05/11 00:12:34 UTC

[jira] [Created] (USERGRID-142) Some Unit tests are not running in the core project

Malaka Mahanama created USERGRID-142:
----------------------------------------

             Summary: Some Unit tests are not running in the core project
                 Key: USERGRID-142
                 URL: https://issues.apache.org/jira/browse/USERGRID-142
             Project: Usergrid
          Issue Type: Story
          Components: Stack
    Affects Versions: 1.0
            Reporter: Malaka Mahanama
             Fix For: 1.1


Test classes in the core like 'QueryUtilsTest.Java'  run fine but some classes like the 'PathQueryIT.Java' , 'CollectionIT.Java' etc give errors. 

*Error:* 2014-05-09 00:39:43,696 ERROR (main) [org.apache.cassandra.cql3.QueryProcessor] - Unable to initialize MemoryMeter (jamm not specified as javaagent).  This means Cassandra will be unable to measure object sizes accurately and may consequently OOM.

Analysis shows that the system has trouble finding the *jamm-0.2.5.jar* .
The POM files will need to be changed to reference the proper jar, ATM it is : 
 <argLine>-Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar </argLine>




--
This message was sent by Atlassian JIRA
(v6.2#6252)