[Cassandra Wiki] Trivial Update of "HowToDebug" by DaveBrosius

2015-05-28 Thread Apache Wiki
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=20&rev2=21

  
 2. Put the following parameters in the VM args section
  {{{
-   -ea -javaagent:${project_loc}/lib/jamm-0.2.6.jar 
+   -ea -javaagent:${project_loc}/lib/jamm-0.3.0.jar 
-XX:+UseThreadPriorities 
-XX:ThreadPriorityPolicy=42 
-Xms750M 


[Cassandra Wiki] Trivial Update of "HowToDebug" by DaveBrosius

2014-10-30 Thread Apache Wiki
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 


[Cassandra Wiki] Trivial Update of "HowToDebug" by DaveBrosius

2014-06-17 Thread Apache Wiki
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=18&rev2=19

Comment:
change xss to 200

-Xmx752M 
-Xmn188M 
-XX:+HeapDumpOnOutOfMemoryError 
-   -Xss128k 
+   -Xss200k 
-XX:+UseParNewGC 
-XX:+UseConcMarkSweepGC 
-XX:+CMSParallelRemarkEnabled 
@@ -56, +56 @@

  
  On Linux systems, by default, Cassandra writes various pieces of data to 
directories that are not owned by the normal user. This will cause failures 
when debugging in eclipse. To address this you can chown the directories, or if 
you don't have rights, you should adjust various settings in the 
cassandra.yaml, cassandra-env.sh and log4j-server.properties files inside the 
conf directory to account for this. For debugging purposes you probably want to 
place these in some directory(s) under your home directory. 
  
+ {{{
-  {{Note in 2.1 and greater, then data directory by default is found in the 
cassandra directory}}
+ Note in 2.1 and greater, then data directory by default is found in the 
cassandra directory
+ }}}
  
1. The entries in the cassandra.yaml file that are effected are:
  


[Cassandra Wiki] Trivial Update of "HowToDebug" by DaveBrosius

2014-06-17 Thread Apache Wiki
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=17&rev2=18

  
  On Linux systems, by default, Cassandra writes various pieces of data to 
directories that are not owned by the normal user. This will cause failures 
when debugging in eclipse. To address this you can chown the directories, or if 
you don't have rights, you should adjust various settings in the 
cassandra.yaml, cassandra-env.sh and log4j-server.properties files inside the 
conf directory to account for this. For debugging purposes you probably want to 
place these in some directory(s) under your home directory. 
  
-  * Note in 2.1 and greater, then data directory by default is found in the 
cassandra directory
+  {{Note in 2.1 and greater, then data directory by default is found in the 
cassandra directory}}
  
1. The entries in the cassandra.yaml file that are effected are:
  


[Cassandra Wiki] Trivial Update of "HowToDebug" by DaveBrosius

2014-04-27 Thread Apache Wiki
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=15&rev2=16

Comment:
update for latest changes

  
 2. Put the following parameters in the VM args section
  {{{
-   -ea -javaagent:${project_loc}/lib/jamm-0.2.5.jar 
+   -ea -javaagent:${project_loc}/lib/jamm-0.2.6.jar 
-XX:+UseThreadPriorities 
-XX:ThreadPriorityPolicy=42 
-Xms752M 
@@ -65, +65 @@


  2. JVM_OPTS="$JVM_OPTS -Xloggc
  
-   1. The entries in the log4j-server.properties file that are effected are:
+   1. The entries in the logback.xml file that are effected are:
  
- 2. log4j.appender.R.File
+ 2. 
  
  {{{
  Note: You should always build from the command line


[Cassandra Wiki] Trivial Update of "HowToDebug" by DaveBrosius

2012-01-14 Thread Apache Wiki
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:
http://wiki.apache.org/cassandra/HowToDebug?action=diff&rev1=9&rev2=10

  }}}
  
  
- On Linux systems by default Cassandra write various pieces of data to 
directories that are not owned by the normal user. This will cause failures 
when debugging in eclipse. To address this you should adjust various settings 
in the cassandra.yaml and log4j-server.properties files inside the conf 
directory to account for this. For debugging purposes you probably want to 
place these in some directory(s) under your home directory. 
+ On Linux systems, by default, Cassandra writes various pieces of data to 
directories that are not owned by the normal user. This will cause failures 
when debugging in eclipse. To address this you should adjust various settings 
in the cassandra.yaml, cassandra-env.sh and log4j-server.properties files 
inside the conf directory to account for this. For debugging purposes you 
probably want to place these in some directory(s) under your home directory. 
  
1. The entries in the cassandra.yaml file that are effected are: