hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "DevelopmentHints" by OwenOMalley
Date Fri, 14 Sep 2007 18:10:53 GMT
Dear Wiki user,

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

The following page has been changed by OwenOMalley:
http://wiki.apache.org/lucene-hadoop/DevelopmentHints

------------------------------------------------------------------------------
+ This page documents various framework development tricks.
- = Development Hints =
- 
- I wanted a page to put my little framework development hints.
  
  == Server Log Scanning ==
  
@@ -19, +17 @@

         -e ':inner' -e n -e '/^ /{H;b inner;}' -e '{x;s/\n/ /g;p;x;b start}' < logfile
  }}}
  
+ Once you have each thread you can do things like look at what is blocking the various threads:
+ 
+ {{{
+ grep 'BLOCKED' < stacks | sed -e 's/.*Blocked on //' -e 's/ .*//' | sort | uniq -c
+ }}}
+ 
+ and get lists like:
+ 
+ {{{
+     146 java.lang.Class@10bd9dd
+      59 java.lang.Class@8aca13
+       4 org.apache.hadoop.mapred.JobInProgress@135af93
+       1 org.apache.hadoop.mapred.JobInProgress@1448b3
+       3 org.apache.hadoop.mapred.JobInProgress@1f54f6d
+       3 org.apache.hadoop.mapred.JobInProgress@4d39a3
+    1749 org.apache.hadoop.mapred.JobTracker@1da74f0
+     714 org.apache.hadoop.mapred.JobTracker@e0e9f5
+ }}}
+ 

Mime
View raw message