Parse Timeout?

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Parse Timeout?

Michael Chen

I've been getting a strange timeout exception during parsing of a large
sitemap XML document. I've set the timeout in nutch-site.xml to -1 or
large numbers and "ant clean && ant runtime" before deploying the parse
job, to no avail. Nor did restarting the cluster help. The strange thing
is that the error happens exactly 30 seconds after the job is started,
so something must be wrong with the config. Here's the log:

2017-08-18 06:05:11,257 WARN [main] org.apache.nutch.parse.ParseUtil: Error parsing
        at java.util.concurrent.FutureTask.get(
        at org.apache.nutch.parse.ParseUtil.runParser(
        at org.apache.nutch.parse.ParseUtil.parse(
        at org.apache.nutch.parse.ParseUtil.parse(
        at org.apache.nutch.parse.ParseUtil.process(
        at org.apache.nutch.parse.ParserJob$
        at org.apache.nutch.parse.ParserJob$
        at org.apache.hadoop.mapred.MapTask.runNewMapper(
        at org.apache.hadoop.mapred.YarnChild$
        at Method)
        at org.apache.hadoop.mapred.YarnChild.main(
2017-08-18 06:05:11,258 WARN [main] org.apache.nutch.parse.ParseUtil: Unable to successfully parse content of type application/xml
2017-08-18 06:05:11,349 INFO [main] org.apache.hadoop.mapred.Task: Task:attempt_1502934094771_0059_m_000000_0 is done. And is in the process of committing
2017-08-18 06:05:11,398 INFO [main] org.apache.hadoop.mapred.Task: Task 'attempt_1502934094771_0059_m_000000_0' done.
2017-08-18 06:05:11,400 INFO [main] org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Stopping MapTask metrics system...
2017-08-18 06:05:11,401 INFO [main] org.apache.hadoop.metrics2.impl.MetricsSystemImpl: MapTask metrics system stopped.
2017-08-18 06:05:11,401 INFO [main] org.apache.hadoop.metrics2.impl.MetricsSystemImpl: MapTask metrics system shutdown complete.

The Hadoop version is 2.6.0, Nutch version 2.x, running on CloudEra
Manager managed 5-node AWS cluster.

Any help would be appreciated, thanks!