Hello all!
I am working with Hama Graph module and i try to chain some jobs in
a for loop.The first loop runs normally, but when it enters the second
I get the following exceptions:
INFO bsp.FileInputFormat: Total input paths to process : 1
[Fatal Error] :60:42: Character reference "&#
13/04/26 01:48:45 FATAL conf.Configuration: error parsing conf file:
org.xml.sax.SAXParseException; lineNumber: 60; columnNumber: 42;
Character reference "&#
Exception in thread "Thread-33" java.lang.RuntimeException:
org.xml.sax.SAXParseException; lineNumber: 60; columnNumber: 42;
Character reference "&#
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1263)
at
org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1129)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
at org.apache.hadoop.conf.Configuration.set(Configuration.java:439)
at org.apache.hadoop.conf.Configuration.setClass(Configuration.java:942)
at org.apache.hama.bsp.LocalBSPRunner.submitJob(LocalBSPRunner.java:120)
at org.apache.hama.bsp.BSPJobClient.launchJob(BSPJobClient.java:396)
at org.apache.hama.bsp.BSPJobClient.submitJobInternal(BSPJobClient.java:372)
at org.apache.hama.bsp.BSPJobClient.submitJob(BSPJobClient.java:295)
at org.apache.hama.bsp.BSPJob.submit(BSPJob.java:218)
at org.apache.hama.graph.GraphJob.submit(GraphJob.java:171)
at org.apache.hama.bsp.BSPJob.waitForCompletion(BSPJob.java:225)
at testhama.threadRun.run(threadRun.java:136)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.xml.sax.SAXParseException; lineNumber: 60;
columnNumber: 42; Character reference "&#
at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251)
at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1188)
This shows up ONLY if I start jobs with different configurations.
If I start a new job with the same conf settings as the previous one,
everything is fine.
I searched with google but the only thing that I found is that
someone had the same problem and it has to do something with temporary
xml files. Unfortunately, he didn't have any solution to my problem.
Any thoughts from you? Thanks in advance!
|