Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for 
change notification.

The "HowToDebug" page has been changed by DaveBrosius:
https://wiki.apache.org/cassandra/HowToDebug?action=diff&rev1=19&rev2=20

Comment:
minor updates due to changes

     2. src/resources
     2. src/java
  
-  1. Set the target directory for classes to build/classes
+  1. Set the target directory for classes to build/classes/main
  
   1. Add the following jars to the eclipse project
  
@@ -23, +23 @@

  
   1. Create a Debug Configuration
  
-    2. Use org.apache.cassandra.thrift.CassandraDaemon as the main class
+    2. Use org.apache.cassandra.service.CassandraDaemon as the main class
  
-    2. Add the directory ./conf to your debugging user class path (that will 
be the location of your log4j.properties file)
+    2. Add the directory ./conf to your debugging user class path (that will 
be the location of your logback.xml file)
  
     2. Put the following parameters in the VM args section
  {{{
            -ea -javaagent:${project_loc}/lib/jamm-0.2.6.jar 
            -XX:+UseThreadPriorities 
            -XX:ThreadPriorityPolicy=42 
-           -Xms752M 
+           -Xms750M 
-           -Xmx752M 
+           -Xmx4000M 
            -Xmn188M 
            -XX:+HeapDumpOnOutOfMemoryError 
            -Xss200k 
@@ -48, +48 @@

            -Dcom.sun.management.jmxremote.port=7199 
            -Dcom.sun.management.jmxremote.ssl=false 
            -Dcom.sun.management.jmxremote.authenticate=false 
-           -Dlog4j.configuration=log4j-server.properties 
-           -Dlog4j.defaultInitOverride=true
  }}}
  
  ==== In versions less then 2.1 the following information is important for 
directory ownership ====

Reply via email to