giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avery Ching (JIRA)" <>
Subject [jira] [Created] (GIRAPH-356) Help debug ZooKeeper issues
Date Fri, 05 Oct 2012 00:43:47 GMT
Avery Ching created GIRAPH-356:

             Summary: Help debug ZooKeeper issues
                 Key: GIRAPH-356
             Project: Giraph
          Issue Type: Improvement
            Reporter: Avery Ching

Currently, if the ZooKeeper process fails, we have little information on why and what happened.
 This patch addresses this by keeping the last 100 log lines and dumps when the map fails
under a RuntimeException.

Here is an example of a master task failure when there is an invalid JVM argument passed to
ZooKeeper.  The error is much for obvious now.

2012-10-04 15:05:28,916 WARN org.apache.giraph.zk.ZooKeeperManager: logZooKeeperOutput: Dumping
up to last 100 lines of the ZooKeeper process STDOUT and STDERR.
2012-10-04 15:05:28,916 WARN org.apache.giraph.zk.ZooKeeperManager$StreamCollector: Unrecognized
option: -BadOpt
2012-10-04 15:05:28,916 WARN org.apache.giraph.zk.ZooKeeperManager$StreamCollector: Could
not create the Java virtual machine.
2012-10-04 15:05:28,919 INFO org.apache.hadoop.mapred.TaskLogsTruncater: Initializing logs'
truncater with mapRetainSize=-1 and reduceRetainSize=-1
2012-10-04 15:05:28,959 WARN org.apache.hadoop.mapred.Child: Error running child
java.lang.IllegalStateException: run: Caught an unrecoverable exception onlineZooKeeperServers:
Failed to connect in 5 tries!
                                 at org.apache.hadoop.mapred.MapTask.runNewMapper(
                                 at org.apache.hadoop.mapred.Child$
                                 at Method)
                                 at org.apache.hadoop.mapred.Child.main(
Caused by: java.lang.IllegalStateException: onlineZooKeeperServers: Failed to connect in 5
       at org.apache.giraph.zk.ZooKeeperManager.onlineZooKeeperServers(
       at org.apache.giraph.graph.GraphMapper.setup(
       ... 7 more
2012-10-04 15:05:28,963 INFO org.apache.hadoop.mapred.Task: Runnning cleanup for the task

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message