incubator-giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dionysis Logothetis <dlogothe...@gmail.com>
Subject Propagation of exception message in GraphMapper
Date Tue, 27 Mar 2012 11:04:45 GMT
Hi all,

I was running one of the example apps and I accidentally entered the
wrong input, so I ended up getting an exception from GraphMapper. But
I think the actual cause of the exception (directory missing) is not
propagated properly, which makes debugging a bit more difficult.
Perhaps the generateInputSplits() method should include the type of
exception in the message?

Below I'm pasting the messages printed:



2012-03-27 12:50:03,925 FATAL org.apache.giraph.graph.GraphMapper:
uncaughtException: OverrideExceptionHandler on thread
org.apache.giraph.graph.MasterThread, msg = generateInputSplits: Got
IOException, exiting...
java.lang.IllegalStateException: generateInputSplits: Got IOException
	at org.apache.giraph.graph.BspServiceMaster.generateInputSplits(BspServiceMaster.java:249)
	at org.apache.giraph.graph.BspServiceMaster.createInputSplits(BspServiceMaster.java:506)
	at org.apache.giraph.graph.MasterThread.run(MasterThread.java:98)
Caused by: org.apache.hadoop.mapreduce.lib.input.InvalidInputException:
Input path does not exist: hdfs://localhost:9000/xxxxx
	at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:231)
	at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:248)
	at org.apache.giraph.lib.TextVertexInputFormat.getSplits(TextVertexInputFormat.java:120)
	at org.apache.giraph.graph.BspServiceMaster.generateInputSplits(BspServiceMaster.java:229)
	... 2 more
2012-03-27 12:50:03,941 WARN org.apache.giraph.zk.ZooKeeperManager:
onlineZooKeeperServers: Forced a shutdown hook kill of the ZooKeeper
process.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message