hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HADOOP-12072) conftest raises a false alarm over the fair scheduler configuration file
Date Sun, 07 Jun 2015 03:45:00 GMT

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

Brahma Reddy Battula reassigned HADOOP-12072:
---------------------------------------------

    Assignee: Brahma Reddy Battula

> conftest raises a false alarm over the fair scheduler configuration file
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-12072
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12072
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Kengo Seki
>            Assignee: Brahma Reddy Battula
>
> hadoop conftest subcommand validates the XML files in ${HADOOP_CONF_DIR} by default,
and assumes the root element of the XML is <configuration>.
> But it is popular to put the fair scheduler configuration file as ${HADOOP_CONF_DIR}/fair-scheduler.xml,
and its root element is <allocations>, so conftest raises a false alarm.
> {code}
> [sekikn@mobile hadoop-3.0.0-SNAPSHOT]$ bin/hadoop conftest
> /Users/sekikn/hadoop/hadoop-dist/target/hadoop-3.0.0-SNAPSHOT/etc/hadoop/capacity-scheduler.xml:
valid
> /Users/sekikn/hadoop/hadoop-dist/target/hadoop-3.0.0-SNAPSHOT/etc/hadoop/core-site.xml:
valid
> /Users/sekikn/hadoop/hadoop-dist/target/hadoop-3.0.0-SNAPSHOT/etc/hadoop/fair-scheduler.xml:
> 	bad conf file: top-level element not <configuration>
> /Users/sekikn/hadoop/hadoop-dist/target/hadoop-3.0.0-SNAPSHOT/etc/hadoop/hadoop-policy.xml:
valid
> /Users/sekikn/hadoop/hadoop-dist/target/hadoop-3.0.0-SNAPSHOT/etc/hadoop/hdfs-site.xml:
valid
> /Users/sekikn/hadoop/hadoop-dist/target/hadoop-3.0.0-SNAPSHOT/etc/hadoop/httpfs-site.xml:
valid
> /Users/sekikn/hadoop/hadoop-dist/target/hadoop-3.0.0-SNAPSHOT/etc/hadoop/kms-acls.xml:
valid
> /Users/sekikn/hadoop/hadoop-dist/target/hadoop-3.0.0-SNAPSHOT/etc/hadoop/kms-site.xml:
valid
> /Users/sekikn/hadoop/hadoop-dist/target/hadoop-3.0.0-SNAPSHOT/etc/hadoop/mapred-site.xml:
valid
> /Users/sekikn/hadoop/hadoop-dist/target/hadoop-3.0.0-SNAPSHOT/etc/hadoop/yarn-site.xml:
valid
> Invalid file exists
> {code}



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

Mime
View raw message