[ 
https://issues.apache.org/jira/browse/YARN-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Masatake Iwasaki updated YARN-3071:
-----------------------------------
    Description: 
copying and pasting conf causes failure on RM startup
{code}
Caused by: org.xml.sax.SAXParseException; systemId: 
file:/home/iwasakims/dist/hadoop-2.6.0/etc/hadoop/fair-scheduler.xml; 
lineNumber: 18; columnNumber: 5; The content of elements must consist of 
well-formed character data or markup.
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
        at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationFileLoaderService.reloadAllocations(AllocationFileLoaderService.java:250)
        at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.initScheduler(FairScheduler.java:1275)
        ... 9 more
{code}

  was:
coping and pasting conf from doc cause failure on RM startup
{code}
Caused by: org.xml.sax.SAXParseException; systemId: 
file:/home/iwasakims/dist/hadoop-2.6.0/etc/hadoop/fair-scheduler.xml; 
lineNumber: 18; columnNumber: 5; The content of elements must consist of 
well-formed character data or markup.
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
        at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationFileLoaderService.reloadAllocations(AllocationFileLoaderService.java:250)
        at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.initScheduler(FairScheduler.java:1275)
        ... 9 more
{code}


> Remove invalid char from sample conf in doc of FairScheduler
> ------------------------------------------------------------
>
>                 Key: YARN-3071
>                 URL: https://issues.apache.org/jira/browse/YARN-3071
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Trivial
>         Attachments: YARN-3071.001.patch
>
>
> copying and pasting conf causes failure on RM startup
> {code}
> Caused by: org.xml.sax.SAXParseException; systemId: 
> file:/home/iwasakims/dist/hadoop-2.6.0/etc/hadoop/fair-scheduler.xml; 
> lineNumber: 18; columnNumber: 5; The content of elements must consist of 
> well-formed character data or markup.
>         at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationFileLoaderService.reloadAllocations(AllocationFileLoaderService.java:250)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.initScheduler(FairScheduler.java:1275)
>         ... 9 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to