Hi guys,
When I run applications on yarn, there is always some
containers failed for the following reason:
Tue, 19 Jan 2016 07:29:22 GMT Tue, 19 Jan 2016 07:29:30 GMT 7sec
Error: java.lang.RuntimeException: org.xml.sax.SAXParseException:
“description”must use“</description>”end。
at
org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2338)
at
org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2185)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2102)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:851) at
org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:870) at
org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1889)
at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2379)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2392)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:89)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2431)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2413)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:368)
at org.apache.hadoop.fs.FileSystem.getLocal(FileSystem.java:339)
at
org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.confChanged(Local
DirAllocator.java:270)
at
org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathToRea
d(LocalDirAllocator.java:432)
at
org.apache.hadoop.fs.LocalDirAllocator.getLocalPathToRead(LocalDirAllocator.
java:164)
at
org.apache.hadoop.mapred.YarnChild.configureLocalDirs(YarnChild.java:232)
at org.apache.hadoop.mapred.YarnChild.configureTask(YarnChild.java:290)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:147)
Caused by: org.xml.sax.SAXParseException: elementtype“description” must
used“</description>” end。
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.
xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2173)
at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2161)
at
org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2232)
... 18 more Container killed by the ApplicationMaster. Container killed on
request.
Exit code is 143 Container exited with a non-zero exit code 143
It seems that the xml file are bad, I check marped-site.xml and
yarn-site.xml, it is fine.
Could you give me any tips
Best Regards,
Evan